/tddjs

TDD JavaScript

Primary LanguageJavaScriptMIT LicenseMIT

tddjs

TDD JavaScript

A collection of labs + solutions

Usage:

  • Download the .zip or init a new repo
  • Run npm install
  • To run server-side tests, npm test or mocha test --recursive
  • To run client-side tests, open public/index.html in a browser
  • To run client-side tests from the console, ./run-phantomjs

Organization:

  • Server-side tests are found in ./test
  • Server-side files are found in ./lib
  • Client-side tests are found in ./public/js/test
  • Client-side files are found in ./public/js

Feel free to submit suggestions/bugs to me as Pull Requests or Issues

That's it!