This is just a sandbox app for playing with some Jasmine tests, updated for September 2015.
- Install Chrome browser (not mandatory, but is what's configured by default)
- Install Node.js (currently v4.1.0, but anything over 0.10.25 should be workable)
- Ensure you have an
npm -v
returns 2 or greater - Download PhantomJS and make sure it's available on your PATH by
running
phantomjs -v
. It should be 1.9 or greater - Clone this repository and
cd
into it - Run
npm install
and it should exit cleanly
Run npm test
and ensure the tests pass and that it exits cleanly
While working on tests or code, start testem in interactive mode, which will launch an isolated Chrome instance:
$ npm start
You should see a runner like this:
To re-run your tests, either change a watched file, hit the Return
/ Enter
key, or navigate to Chrome and refresh the test runner page.
First, keep a bookmark to this wiki on testing handy. We'll be referencing it a lot.
Second, visit the issues page and look through the issues Open for Voting. Feel free to 👍 up to 3 topics that you're most interested in, and we'll prioritize our time tackling those ones first!