liveBook · Manning

Testing in production

Testing in production is the practice of evaluating software or infrastructure behavior in a live production environment.

How 2 Manning books explain it

Grokking Software Architecture

Validating software on production infrastructure, potentially using controlled exposure to real user traffic.

How it is used
Uses production as the final validation loop when controlled exposure can test software against real traffic and system conditions.
How deep it goes
Compares staging with production and gives a decision rule based on compliance, observability, and failure isolation.
Examples
Contrasts drifting staging environments with controlled live exposure through dark launching, inversion feature flags, and canary proxies.
What you can do after
Evaluate whether compliance, observability, and traffic controls justify production validation or require a physical staging gate.

Read how Grokking Software Architecture explains testing in production →

Infrastructure as Code, Patterns and Practices: With examples in Python and Terraform

Testing in production is the practice of validating software or infrastructure behavior in the live production environment under controlled conditions.

How it is used
Uses controlled production validation to optimize cloud costs without maintaining a separate testing environment.
How deep it goes
Explains definitions, blue-green execution, feature flags, canaries, and roll-forward recovery, but not detailed implementation code.
Examples
Uses a conference video service, parallel resource sets, production traffic switching, and delayed deletion of old infrastructure.
What you can do after
Apply via blue-green deployments and feature flags to validate infrastructure changes against production systems.

Read how Infrastructure as Code, Patterns and Practices: With examples in Python and Terraform explains testing in production →

Also covered in

What to know first

Related concepts

Questions about testing in production

What is testing in production?

Testing in production is the practice of evaluating software or infrastructure behavior in a live production environment.

Which Manning books explain testing in production?

Grokking Software Architecture and Infrastructure as Code, Patterns and Practices: With examples in Python and Terraform.

What should I know before learning testing in production?

Manning books that teach testing in production usually introduce canary deployment and distributed system first.

What is the difference between testing in production and staging environment?

Testing in production is the practice of evaluating software or infrastructure behavior in a live production environment. A staging environment is a pre-production computing environment used to validate software or operational changes under conditions that approximate production.

What is testing in production a kind of?

Testing in production is a kind of software testing. Software testing is the systematic evaluation of software under specified inputs or conditions to assess its behavior against expected results or requirements and identify defects.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.