Test-driven development vs Behavior-driven development example.
JavaScript
Latest commit ce1b570 May 27, 2013 @jdavis Add README
Permalink
Failed to load latest commit information.
test Remove unneeded line May 27, 2013
.gitignore Add .gitignore May 27, 2013
Gruntfile.js Add Gruntfile May 27, 2013
LICENSE-MIT Add LICENSE May 27, 2013
README.md Add README May 27, 2013
index.js Add factorial code May 27, 2013
package.json Add package.json May 27, 2013

README.md

tdd-vs-bdd

About

This code goes along with the article I posted on my website: The Difference Between TDD and BDD.

Running

Just clone the repository and then run the following commands:

# Install packages
$ npm install

# Run tests
$ grunt