8 Running Automated Tests with Jenkins
This chapter covers
- Implementing CI pipelines for Python, Golang, Node.JS & Angular-based services.
- Running pre-integration tests and automated UI testing with Headless Chrome.
- Executing SonarQube static code analysis within Jenkins pipelines.
- Running Unit Tests inside a Docker container and code coverage reports publishing.
- Integrating dependency checks in Jenkins pipeline and injecting security in DevOps.
In the previous chapter, we learned how to set up multibranch pipeline jobs for containerized microservices and continuously triggering Jenkins upon push events with webhooks. In this chapter, we will run automated tests within the CI pipeline. The current CI workflow stages can be summarized in the following schema:
Figure 8.1. The various tests stages will be covered in this chapter
