What would you automate for a payment checkout with no written requirements, and what would you leave manual?
Answer
Before automating, begin by asking a few high-value questions, stating assumptions and building a compact risk model aloud. Cover price, tax, discounts and currency; authorization, challenge and callback states; idempotent retries; cancellation and refund; partial failure; and the invariant that the customer is never charged twice. Ask about users, supported platforms, business rules and unacceptable outcomes; compare with credible product behavior, and label every inferred rule as an assumption requiring confirmation. Use user goals, invariants, comparable behavior and observable state changes as the oracle, control data and dependencies enough to reproduce failures, and finish with observed evidence, residual risk and the next most valuable check.
Strong answer includes
- covers money integrity, idempotency and partial failure
- adapts evidence to the constraint: with no written requirements
- states assumptions and questions
- prioritizes before listing cases
- measurable evidence and residual-risk statement
Practical example
With no written spec for a checkout flow, the candidate first asked what currencies and payment methods were supported and what should happen if the payment gateway times out mid-charge, then proposed automating the core price-calculation and successful-charge paths first, leaving refund edge cases manual until the double-charge invariant was confirmed with the team.