Tutorial for auto loading test fixtures in node
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
lib
test
.editorconfig
.gitignore
.jshintrc
.travis.yml
Gruntfile.js
README.md
package.json

README.md

tutorial-load-fixtures

Source files for the tutorial for auto loading test fixtures in node

Getting Started

First clone this repo, then install its dependencies with

$ npm install

Now you can see it work with

$ grunt

This will output something similar to:

Running "jshint:gruntfile" (jshint) task

✔ No problems


Running "jshint:lib" (jshint) task

✔ No problems


Running "jshint:test" (jshint) task

✔ No problems


Running "nodeunit:files" (nodeunit) task
Testing main_test.js.OK
>> 1 assertions passed (10ms)

Done, without errors.


Execution Time (2014-04-19 07:35:31 UTC)
loading tasks                   120ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 37%
loading grunt-contrib-jshint     41ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 13%
jshint:gruntfile                 33ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 10%
jshint:lib                       12ms  ▇▇▇▇▇▇ 4%
jshint:test                      16ms  ▇▇▇▇▇▇▇ 5%
loading grunt-contrib-nodeunit   81ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 25%
nodeunit:files                   14ms  ▇▇▇▇▇▇▇ 4%
Total 323ms

Tutorial files

The files you'll be interested in if you're following the tutorial are in the test directory:

License

Copyright (c) 2014 Camille Reynders. Licensed under the MIT license.