Software Testing & Quality

8 guides · about 1 hour of reading

Tests are how a team keeps the freedom to change code. This subject covers the fundamentals of test design and levels, hands-on unit testing with JUnit 5 and Mockito, test-driven and behaviour-driven development, integration testing with real dependencies, performance testing, how to shape an automation strategy that pays for itself, and the static-analysis tools that catch defects before a test ever runs.

Who this is for

  • Developers who want to write better tests
  • QA engineers moving into automation
  • Teams introducing TDD or BDD

Learning path

Read in order for a complete course, or pick the topic you need.

  1. 1Software Testing Fundamentals: Levels, Techniques and the Vocabulary Teams Argue AboutTest levels, functional and non-functional checks, black and white box, test design techniques, the pyramid, defect lifecycle and exit criteria.Beginner10 min read
  2. 2Unit Testing in Java with JUnit 5 and Mockito 5Write unit tests that survive refactoring: JUnit 5 lifecycle, assertions, parameterised and nested tests, AssertJ, test doubles and Mockito stubbing.Beginner7 min read
  3. 3Test-Driven Development in Java: A Worked Kata and an Honest AppraisalRed, green, refactor applied to a real problem in Java, how test-first pressure changes design, outside-in versus inside-out, and where TDD struggles.Intermediate8 min read
  4. 4Behaviour-Driven Development with Cucumber and GherkinBDD as a conversation practice: example mapping, Gherkin syntax, Java step definitions, living documentation and the anti-patterns to avoid.Intermediate7 min read
  5. 5Integration Testing with Real Dependencies: Testcontainers, WireMock and ContractsTest across real boundaries: databases in containers, state isolation, stubbed HTTP with WireMock, broker tests and consumer-driven contracts.Intermediate8 min read
  6. 6Test Automation Strategy: What to Automate, What It Costs, and How to Keep It HonestChoose what to automate, shape a layered suite for fast feedback, run a flaky-test policy, and use coverage and quality gates without gaming them.Advanced11 min read
  7. 7Performance Testing as a Discipline: SLOs, JMH Benchmarks and CI Regression GatesWhere performance work fits in a test strategy: SLOs you can fail a build on, honest JMH benchmarks, profiling, and CI regression gates.Intermediate9 min read
  8. 8Code Quality and Static Analysis: Error Prone, SpotBugs, PMD and SonarQubeWhat static analysis catches that tests never will, how the tool families differ, which metrics to trust, and how to adopt it on legacy code.Intermediate10 min read