2.0.3 • Published 13 years ago

jarvis-test v2.0.3

Weekly downloads
13
License
-
Repository
github
Last release
13 years ago

Jarvis http://jarvis.tmont.com/ Version 2.0.3 (see CHANGELOG for details) by Tommy Montgomery http://tommymontgomery.com/

Jarvis is a unit testing framework similar to N|J|SUnit. But mostly similar to NUnit. It supports both client side (browser/DOM/selector/etc.) and server side (node) testing.

Licensed under WTFPL: http://sam.zoy.org/wtfpl/

diff_match_patch http://code.google.com/p/google-diff-match-patch/ (c) 2006 Google, Inc. by Neil Fraser Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0

Sizzle selector engine http://sizzlejs.com/ (c) 2011 The Dojo foundation Licensed under the MIT, BSD, and GPL Licenses.

stacktrace.js https://github.com/eriwen/Javascript-Stacktrace Released into the public domain https://github.com/eriwen/javascript-stacktrace/blob/master/LICENSE.txt

Various icons taken from the Silk icon set: http://www.famfamfam.com/lab/icons/silk/ Licensed under Creative Commons Attribution 2.5 License http://creativecommons.org/licenses/by/2.5/

Installation

Browser Installation: - Reference jarvis-browser-min.js at the bottom of your HTML file - Create a test script and include it after jarvis-min.js (example at http://jarvis.tmont.com/#example) - Open up the HTML file in a browser

Node Installation npm: $ npm install --global jarvis-test

//test.js module.exports = function My_test() { Assert.that(2 + 2, Is.equalTo(4)); Assert.that(2 + 2, Is.not.equalTo(4)); //should fail }

$ jarvis test.js

Authors

Tommy Montgomery http://tommymontgomery.com/

Contributors

Adam Hewgill

2.0.3

13 years ago

2.0.2

13 years ago

2.0.1

13 years ago

2.0.0

13 years ago