forked from outmoded/university
-
Notifications
You must be signed in to change notification settings - Fork 0
3 Assignment
zoe-1 edited this page Mar 29, 2015
·
11 revisions
- Use Travis CI to automate testing of your project.
Read more at: Travis CI
- Learn basics of hapijs testing utility "lab".
Read more about lab at: hapijs / lab - Use "code" BDD assertion library with "lab".
Read more about code at: hapijs / code - Learn to use lab and code requiring 100% test coverage and linting with default rules.
- Write basic tests to verify our plugin works.
- Create a standard hapi.js Makefile to make it easy to generate testing reports (Example: HTML coverage report).
- Use npm to install new packages and modify your package.json file.
- git setup
-
Configure for Travis
- Install Packages Using npm
- Refactor Start Up Process
- Testing with lab and code
- Your done! Make sure you get %100 coverage with tests.
@TheAlphaNerd Assignment3
@Chyld Assignment3
@idanwe Assignment3
@zoe-1 Assignment3
This tutorial is commentary on above code :-)