Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/madjava/unconf
- Owner: madjava
- Created: 2016-06-21T22:06:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-06-26T22:22:26.000Z (over 8 years ago)
- Last Synced: 2024-12-06T22:19:33.366Z (about 1 month ago)
- Language: JavaScript
- Size: 3.67 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.