A useful automated test has an oracle

A checkout script that clicks every button is not enough. It must check an outcome, such as the final total or saved order status. That expected result is the test oracle. Without it, a script can complete while the application behaves incorrectly.

Separate test setup from the behavior you want to examine. Create a known customer and product before opening checkout. This makes the result easier to interpret because unrelated registration or catalog failures do not obscure the rule under examination today.

Choose the right layer

Check a tax calculation directly in a unit test when the rule lives in a function. Check database mapping through an integration test. Use a browser journey when the risk depends on navigation, rendering, authentication, or several connected application services.

These layers answer different questions and have different setup costs. A fast calculation check cannot prove that the browser sends the right input. A browser test can cover that connection, but repeating every arithmetic boundary through the browser adds unnecessary maintenance.

Keep exploration in the process

Automation repeats known expectations. Exploratory testing can reveal confusing flows, missing requirements, and unexpected combinations that nobody encoded. Use failure reports and production observations to decide which newly discovered behavior deserves a stable automated check in a future change.

Assign a maintainer to each test area and review failures promptly. A suite that stays red becomes weak evidence because new defects hide among old failures. Track useful feedback time and unresolved failures alongside execution counts to keep the suite credible.

Working sheet

Choose a check by risk
RiskUseful checkExpected result
Discount boundaryUnit testExact discounted total
Stored orderIntegration testCorrect persisted fields
Checkout navigationBrowser testOrder confirmation visible
Confusing wordingHuman explorationClear user understanding
Download this worksheet (CSV)

Questions about what is test automation?

Can all testing be automated?

No. Automated checks require defined expectations. Human investigation remains useful for new risks and unclear behavior.

Where should a team start?

Start with one costly regression and an explicit expected result. Select the cheapest test layer that can detect it.

How should I use the working sheet?

Download the CSV and replace the sample rows with evidence from your repository. Record a clear acceptance check and an owner for each item. Keep unresolved assumptions visible rather than treating the example as a completed assessment.

Sources and further reading

Examples are illustrative. They are not customer results, security guarantees, or a substitute for checking the documentation for your installed version.

Make the next change verifiable.

Getzilla is an open source workflow for changes to existing repositories. Inspect the project, define acceptance checks, and keep independent review in the loop.

See the repository workflow See current access and pricing