phantom-assert /

Filename Size Date modified Message
120 B
2.0 KB
219 B
340 B
952 B
989 B
2.2 KB
202 B
715 B

Assertions in PhantomJS

A standalone JavaScript test runner that gives you full access to the browser DOM using PhantomJS. Each test is run with a fresh fixture, eliminating the need to do cleanup between tests. phantom-assert is light enough to be bundled with web applications.


cp {assert,runner,tests}.js test_page.html $YOUR_PROJECT/

Write tests by customizing tests.js and test_page.html. Execute using

phantomjs runner.js


A release history as well as features in the upcoming release are covered in the NEWS file.


Source is under and ISC-style license. See the LICENSE file for more detailed information on the license used for compatibility libraries.