This repository has been archived by the owner on Apr 8, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 192
3.0 Objectives
Gareth edited this page Apr 14, 2015
·
5 revisions
https://github.com/hueniverse/hueniversity/issues/79
Make sure you read the entire issue as there are many clarifying questions and answers in the thread.
- Use Travis CI to automate testing of your project.
- Learn basics of testing utility hapijs / lab.
- Use hapijs / code BDD assertion library with "lab".
- 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.
- Above objectives based on hueniversity's milestone 0.0.3 (must read)
- 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 :-)
Assignment 1
Assignment 2
Assignment 3
- 3.0 Objectives
- 3.1 Start
- 3.2 Configure for Travis
- 3.3 Install Packages
- 3.4 Refactor startup process
- 3.5 Testing with lab and code
Assignment 4
Assignment 5
Assignment 6
Assignment 7