Automation and continuous integration
Date 14/10/2014
Automated testing and building services which support Node.js, such as Codeship, Drone.io, Travis CI, and Wercker, can be linked to a GitHub repository with a hook, from where they fetch the latest changes on every git push
and publish the test/build results.
Tasks for the day
Make sure your
hello-node-js
has linting and unit tests, that can be executed withnpm test
Add one of the services mentioned above so that
npm test
is executed every time you push code to the repositoryAdd a badge on the top part of the
README.md
file which shows the current state
Find a npm module which has unit tests but is not using automated testing service
Create an issue for taking such service in use
The issue should include instructions of how to take such a service in use
The issue should describe how to add a badge that shows the current state
Link the issue in the list below
Issues for adding automated testing
Links related to the lecture subject
Last updated
Was this helpful?