1c32db68da
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...
7 lines
400 B
Text
7 lines
400 B
Text
content zotero-unit content/
|
|
resource zotero-unit resource/
|
|
resource zotero-unit-tests tests/
|
|
|
|
component {b8570031-be5e-46e8-9785-38cd50a5d911} components/zotero-unit.js
|
|
contract @mozilla.org/commandlinehandler/general-startup;1?type=zotero-unit {b8570031-be5e-46e8-9785-38cd50a5d911}
|
|
category command-line-handler m-zotero-unit @mozilla.org/commandlinehandler/general-startup;1?type=zotero-unit
|