Seed project for testing JavaScript projects using the official Jasmine Node module (and therefore the latest Jasmine version), with verbose test reporting using jasmine-spec-reporter.
I like detail, I like the command line, and I like to see exactly which tests are passing as well as which ones are failing. I find the report satisfying and it provides another way for me to feel connected with my codebase and test suite. I also prefer to use the latest Jasmine version which rules out using the jasmine-node module.
Clone the repo into your project folder: git clone [email protected]:endofhome/node-jasmine-seed.git .
Install the required modules npm install
To run the test script, simply use the npm test
command from inside your project.
Be sure to delete this README and edit (or make a fresh) package.json.
Right now, I also like to combine this with nodemon, TMUX and Vim, which provides a powerful JavaScript TDD environment.