package
Server for running mocha requirejs test suites in phantomjs with one command
npm install testamentGitHub-flavored package documentation.
Across all versions, last 30 days.
20 in 30 days
Runtime metadata.
#Testament
A server for running entire suites or single tests of RequireJS tests in mocha-phantomjs.
Right now to run a test suite in phantomjs with requirejs you need to manually enter all the tests scripts into an HTML file and run that. This is unweildy and is an extra step that can be forgotten or discourage developers from writing tests.
The problem is still present with requirejs, since if your test suites are modules, you have to manually require the modules to make the tests run.
Testament is a small app that takes in a path to a test or folder containing tests and will automatically fill out your test-runner file so that specific test, or directory of tests will be run in Mocha-phantomjs.
npm install -g testamentEstimated unpacked size across 65 packages.
15.7 MB+
Includes dependencies.
4.7.10
~1.4.4
1.13.8
~1.1.2
4.1.0