Unit testing infrastructure

Implements the beginnings of unit testing infrastructure using
mocha/chai. The unit tests can be run locally using test/runtests.sh,
although this will need tweaks to run on Windows. They should also run
on commit using Travis-CI.

The unit tests themselves live in test/tests. The index.js file
specifies separate test sets, which can be run individually by calling
test/runtests.sh <testsets>. Right now there is only a single unit
test, but hopefully we'll have more soon...
This commit is contained in:
Simon Kornblith 2015-03-07 12:18:27 -05:00
parent 5285fadded
commit 1c32db68da
12 changed files with 289 additions and 0 deletions

1
test/resource/chai Submodule

@ -0,0 +1 @@
Subproject commit d7cafca0232756f767275bb00e66930a7823b027

1
test/resource/mocha Submodule

@ -0,0 +1 @@
Subproject commit 65fc80ecd96ca2159a792aff089bbc273d4bd86d