Skip to main content

Automated Testing in Pipelines, SonarQube, Checkmarx and Container Image Scanning

Learn Automated Testing in Pipelines, SonarQube, Checkmarx and Container Image Scanning (Phase 12 · CI/CD and DevOps (Core), Microservices) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Automated testing in the pipeline • Run the test pyramid automatically: unit (seconds, every commit), integration with Testcontainers (minutes), contract tests (provider verification, consumer stubs), end-to-end/smoke on a deployed environment (few), performance (nightly or pre-release), security (SAST, SCA, DAST). Fail fast: cheap checks first; parallelise ; quarantine flaky tests (and fix them); publish reports (JUnit XML, coverage). • Quality gates: tests pass, coverage on new code (e.g. ≥ 80%), no new blocker/critical issues, no high vulnerabilities, license policy, build reproducible....

More lessons in Phase 12 · CI/CD and DevOps (Core)