glyif / ghost

1 stars 1 forks source link

Ghost

Automated testing for 0x15-javascript-web_jquery

ghost uses Nightmarejs, which is a high level browser automation library to test the html and js of 0x15-javascript-web_jquery.

ghost also uses mocha as a testing framework

Setup

Dependencies

You can install the dependencies by running

$ npm install

Getting your code

$ ./setup.sh GITUBNAME

# ./setup.sh glyif

Running Tests

To run test, you have to first run the express server to serve the static files (on separate terminal)

$ npm start

Run tests

$ npm test

cleaning up

to get rid of all of your scripts

$ ./cleanup.sh