Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README

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|S]Unit. 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] (recommended):
$ 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

About

JavaScript unit testing framework

Resources

License

You can’t perform that action at this time.