Our current testing setup involves several steps:
- Start a jstd server from the command line.
- Visit the server in the browser that you want to test.
- Run the jstd command with "--tests all" set.
- Tear everything down.
With phantomjs, this process is streamlined. You can do everything from the command line:
Ran 118 tests in 1.397s.
118 test(s) passed
0 test(s) failed: