Introduction-to-Test-Driven-Development-in-Javascript
Introduction-to-Test-Driven-Development-in-Javascript copied to clipboard
Code accompanying the "Introduction to test-driven development" article
trafficstars
This repository contains all the code from the article Introduction to test-driven development in JavaScript.
How to run the unit tests
Download the ZIP of this project and open the test/SpecRunner.html file in your browser.
How to run the code coverage tests
Download the ZIP of this project, navigate to this project in your Node console, and run
npm install
npm test
The test results will appear in the coverage folder. You can view them by opening the index.html file in your browser.
Contributing
Feel free to open an issue or add a pull request if you have any improvements to suggest.