Manoj Perla.ENGINEERING NOTES & OPEN SOURCE
All writing

How Testing Changes When Software Becomes Autonomous

Autonomous software changes testing from deterministic verification to continuous evaluation of goals, decisions, boundaries, and outcomes.

Key takeaway

Evaluate the outcome and the actions taken to reach it. A correct answer alone does not establish a reliable workflow.

In conventional test automation, we often control the input and check a predictable result. An agent adds another variable: it may choose tools, retrieve information, revise a plan, and decide when to stop. Several action sequences can be acceptable, so a single golden transcript can be too restrictive.

Define success beyond the final answer

Consider an assistant investigating a failed deployment. A useful outcome is a supported explanation of the failure. But the same explanation is unacceptable if the assistant obtained it by changing production configuration without permission. Test the result, the authority exercised, and the evidence supporting the conclusion.

DimensionA testable question
OutcomeDid the investigation answer the requested question?
BoundaryDid every action remain within the allowed tools and resources?
EvidenceCan each factual claim be traced to an observation?
RecoveryDid missing logs or failed tools lead to a bounded retry, a request for more evidence, or a clear stop?
CostDid the workflow stay within its time, call, and token budgets?

A repeatable test is more useful than a convincing run

One successful execution is an example, not a reliability estimate. Repeat representative scenarios, record configuration and outcomes, and distinguish model variation from tool or environment failures. Report the number of trials alongside any success rate; retain unsuccessful traces as well as the successful one.

Set those recovery rules before the run: which failures may be retried, how many attempts are allowed, and when the investigation must stop. A successful answer after exceeding an agreed boundary should still fail that check.

Preserve space for uncertainty

An investigator should be able to say that a business rule was violated without claiming to know the implementation defect. Separating observations from hypotheses makes the next diagnostic step explicit. The verifier should reject unsupported certainty, even when the proposed explanation sounds plausible.

This is an extension of test design: define what acceptable behavior looks like, identify unacceptable paths, and collect enough evidence to tell them apart. The practical companion below turns those questions into a scenario contract.

Next step: Build a concrete validation scenario

Revised : Clarified recovery choices and the need to define retry limits before evaluation.

Validating Intelligent Autonomous Systems: The New QA Challenge

A practical framework for evaluating autonomous systems across capability, reliability, safety, security, resilience and observability.

Read essay · 2 min

MCP vs APIs for AI Agent Architecture

MCP and traditional APIs solve different layers of the AI-agent integration problem. The right choice depends on capability discovery, control, efficiency and security.

Read essay · 2 min
Back to all writing