Pcornel
Automation · Testing

Automation Testing

Cheat sheet · https://pcornel.dk/topic.php?topic=5925

Back to the Topic

Answer

Automation Testing verifies scripts, workflows, IaC, orchestration and operational runbooks as change-producing systems, including idempotency, failure handling, partial success, recovery and target-state read-back.

Remember

  • Green test suite ≠ production behavior guaranteed.
  • First run success ≠ idempotent rerun.
  • Expected failure detected ≠ recovery path works.
  • Tool exit code 0 ≠ target state or service outcome verified.

First checks

  • Test plan per automation — scope
  • Test environment availability — labs
  • Coverage metrics — quality

Verify in this order

automation → test suite → results

Where it usually breaks

Automation Testing proves behavior in the exercised automation scenarios and environment; it does not guarantee every external dependency or production race condition.

Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.

Automation Testing testing proof-boundary map

BoundaryHealthy evidenceSuspicious evidence
Scope / oracleRequirement, case, expected result and exercised scope are explicitA generic green status exists without a trustworthy oracle or coverage boundary
Fixture / environmentData, dependencies and environment versions are reproducibleShared state, floating versions or stale fixtures make results non-reproducible
Effective outcomeAuthoritative state/read-back and service-relevant evidence match the expected resultTool/test/validator success substitutes for effective target or workload proof
Limits / next actionCoverage limits, unknowns and failures drive the next narrower checkUnknown evidence becomes pass, retries hide failures or broad success is inferred from one check

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5925

Confirmation

Confirm action

Continue?