Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/madjava/unconf

Sets of test examples
https://github.com/madjava/unconf

Last synced: 3 days ago
JSON representation

Sets of test examples

Awesome Lists containing this project

README

        

# unconf
JavaScript Unit Test - An Introduction


“We’ve all been there: that bit of JavaScript functionality that started out as just a handful of lines grows to a dozen, then two dozen, then more. Along the way, a function picks up a few more arguments; a conditional picks up a few more conditions. And then one day, the bug report comes in: something’s broken, and it’s up to us to untangle the mess.” - Rebecca Murphey



Testing your frontend /javascript code is increasingly becoming porpolar, a perequisite for building stable software. This presentaion aims to introduce the concept.


--- Useful resources ---

http://chaijs.com/
http://robdodson.me/mocking-requests-with-mocha-chai-and-sinon/
http://sinonjs.org/
http://sinonjs.org/docs/
http://www.browsersync.io/
http://sweetme.at/2013/08/08/sublime-text-keyboard-shortcuts/


Test files and test case files have all been commented out for demonstations and the handon exersice. To see all test pass remove all comments in the todo.js and todo-test.js files.