Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (12 sloc) 733 Bytes

Test-Driven HTML: Why and How


Running the tests

You must have NodeJS and NPM installed to run these tests

Note: The PhantomJS binary is for Mac OSX, if you're running a different OS, download the appropriate binary here:

  1. navigate to the root directory
  2. $ npm install -d : installs the BusterJS Node module
  3. $ npm start : starts the Buster and PhantomJS servers
  4. $ npm test : runs the tests in form.test.js against the HTML in form.html

When you've finished running your tests you can type $ npm stop to stop the Buster and PhantomJS servers.