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

  1. Make sure your hello-node-js has linting and unit tests, that can be executed with npm test

    • Add one of the services mentioned above so that npm test is executed every time you push code to the repository

    • Add a badge on the top part of the README.md file which shows the current state

  2. 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

Writing Beautiful JavaScript Tests

Last updated