specialmoves / Wibble

Sniff out those project smells in your retrospective. Open source NodeJS based retrospective tool.
MIT License
5 stars 5 forks source link

Add tests around existing Node.js code #2

Open sunilj0lly opened 11 years ago

sunilj0lly commented 11 years ago

I'd recommend using Mocha.hs and Should.js. Logic around the graphs and percentage calculations would be the most important place to start.

sunilj0lly commented 11 years ago

I made a start on this but hit several problems with the current set up and also with trying to stub out Mongoose Virtual Properties. https://github.com/sunilj0lly/Wibble/tree/mocha-tests

Documented the problems and possible solutions here: https://docs.google.com/a/specialmoves.com/document/d/1_H5VizBhf9LcPYGX6-ANNZy3JYI2gAcu55KXhcnBz34/edit