I would like to organize my test suites like phpunit
A script which add all the tests found elsewhere in the same project
I would like to organize my test suites like phpunit
A script which add all the tests found elsewhere in the same project
An example of a small prototype of command-line testing with CasperJS is at https://github.com/mcamiano/friendlyghost .
Basically, it uses shell scripting to wrap CasperJS as a runner, providing test suite organization, test output logs, helpers, fakers, and even fixtures.
Posting it only as an example, not plugging - I actually use Codeception with PhantomJS via Selenium2 as my primary tool. By comparison, FriendlyGhost is not very refined, and certainly not fast for lots of tests, but Casper's CoffeeScript is a cleaner and more extensible language to work in than Codeception's modules and a little shell wrapping can be good enough for diagnostic purposes.