Continuous Testing Foundation study materials
Continuous Testing Foundation study resources

Continuous Testing Foundation: DevOps Continuous Testing Frameworks and Tools

Continuous Testing Foundation · Work through your exam, one topic at a time.

All guide sections

DevOps Continuous Testing Frameworks and Tools

This domain tests your ability to select and combine tools by testing need, and to recognise healthy framework design rather than tool-name recall alone.

Core concepts

  • Tool categories by purpose: unit and component (JUnit, TestNG, NUnit, pytest); BDD and specification (Cucumber, SpecFlow); API (REST Assured, Karate, Postman/Newman); UI (Selenium, Cypress, Playwright); performance (JMeter, Gatling, k6); security (SAST and DAST tools such as SonarQube and OWASP ZAP); service virtualization (WireMock, Mountebank); contract testing (Pact); test management (TestRail, Zephyr, Xray); CI/CD orchestration (Jenkins, GitLab CI, GitHub Actions, Azure DevOps); containers (Docker, Testcontainers).
  • Framework design principles: modular structure, reusable components, clear assertions, independent tests, parallel execution, version control with product code, reporting integration, and maintainability.
  • Selection criteria: fit to risk and technology, pipeline integration, team skills, maintenance cost, support and licensing, and exit strategy.
  • Orchestration matters: the CI/CD tool schedules suites; test management provides traceability; dashboards expose results.

Worked example

A Java microservices team needs a toolchain. Unit tests use JUnit because it integrates with the build and runs in seconds. Contract tests use Pact because the risk is provider-consumer mismatch. API tests use REST Assured for service-level regression. UI tests use Playwright for a few critical journeys only. WireMock provides virtual services for unavailable dependencies. Testcontainers supplies disposable databases. Jenkins orchestrates stages and publishes reports. Reasoning: each tool maps to a specific risk and pipeline stage; choosing Selenium for everything would add cost and slowness without covering new risks.

Traps that cost marks

  • Starting with a tool and inventing a strategy around it.
  • Using UI tools for checks better done at unit or API level.
  • Ignoring total cost of ownership, including test maintenance and upgrades.
  • Selecting tools without checking CI/CD, reporting or version-control integration.
  • Assuming open-source always means low cost, or commercial always means better support.
  • Forgetting service virtualization and test data tooling, then blaming environments.