Letting Jenkins get nosy with coverage
Configure Jenkins to run a test suite using nose, generating a coverage report. This recipe assumes you have already created the network management application as described in the Building a network management application section.
- If you have already downloaded Jenkins and used it for previous recipes, look for a
.jenkinsfolder in your home directory and delete it, to avoid unexpected variances caused by this recipe.
- Install Jenkins as explained in Chapter 6, Configuring Jenkins to run Python tests upon commit.
- Open the console to confirm that Jenkins is working.
- Click on Manage Jenkins.