AI Wisdom
Learning Track

Testing Engineering

Unit, integration, snapshot, contract, fuzz and LLM evals — designing tests that catch real regressions without breaking the bank.

9+
Topics
9
Published
100%
Free
Browse articles ↓

9 articlesin Testing Engineering

Testing Engineering
Mocking Patterns: Stubs, Spies, Fakes, and When Not to Mock

Mocking Patterns: Stubs, Spies, Fakes, and When Not to Mock

Intermediate

Master test double patterns — distinguish stubs from mocks, use Vitest module mocking, implement MSW for HTTP, and avoid over-mocking that hides real bugs.

13 min
Read →
Testing Engineering
Test Architecture Strategy: Pyramid, Trophy, and CI Optimization

Test Architecture Strategy: Pyramid, Trophy, and CI Optimization

Intermediate

Design a scalable test architecture — apply the test pyramid and testing trophy, set meaningful coverage thresholds, and optimise CI pipeline execution time.

14 min
Read →
Testing Engineering
Snapshot Testing: When and How to Use toMatchSnapshot

Snapshot Testing: When and How to Use toMatchSnapshot

Foundational

Use snapshot testing effectively — understand inline vs file snapshots, handle dynamic values, avoid snapshot bloat, and know when snapshots add real value.

11 min
Read →
Testing Engineering
Contract Testing with Pact: Consumer-Driven Contracts for Microservices

Contract Testing with Pact: Consumer-Driven Contracts for Microservices

Intermediate

Implement consumer-driven contract testing with Pact and PactFlow — learn pact files, provider verification, can-i-deploy, and bidirectional contracts.

15 min
Read →
Testing Engineering
Test-Driven Development: Red-Green-Refactor in Practice

Test-Driven Development: Red-Green-Refactor in Practice

Intermediate

Apply the TDD cycle — Red-Green-Refactor — to drive better software design. Covers triangulation, outside-in TDD, BDD, and working with legacy code.

14 min
Read →
Testing Engineering
E2E Testing with Playwright: Auto-Waiting, Page Objects, and Network Interception

E2E Testing with Playwright: Auto-Waiting, Page Objects, and Network Interception

Intermediate

Write reliable end-to-end tests with Playwright — leverage auto-waiting, build Page Object Models, intercept network requests, and eliminate flakiness.

15 min
Read →
Testing Engineering
Integration Testing with Testcontainers and WebApplicationFactory

Integration Testing with Testcontainers and WebApplicationFactory

Intermediate

Build reliable integration tests using Testcontainers for real databases, WebApplicationFactory for ASP.NET Core, and supertest for Node.js APIs.

14 min
Read →
Testing Engineering
Unit Testing Principles: AAA, Isolation, and Test Doubles

Unit Testing Principles: AAA, Isolation, and Test Doubles

Foundational

Master the foundational principles of unit testing — Arrange-Act-Assert, test isolation, deterministic tests, and test doubles with Vitest and xUnit.

12 min
Read →
Testing Engineering
Testing LLM-Powered Features Without Going Broke

Testing LLM-Powered Features Without Going Broke

Mock strategies, evaluation harnesses, snapshot testing, and cost-aware CI for LLM-integrated applications.

9 min
Read →