How would you design a focused test strategy for a search box with no written requirements?
Answer
Build the smallest useful model of the behavior by asking a few high-value questions, stating assumptions and building a compact risk model aloud. Cover exact and partial matches, ranking, filters, pagination, empty and no-result states, spelling and Unicode, indexing freshness, injection resistance, keyboard access and response time. 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 relevance, indexing, input handling and performance
- 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 spec for a search box, the candidate asked whether search should be exact or fuzzy and how empty results should be handled, then designed a small plan covering an exact match, a misspelled query, and a query returning zero results, explicitly flagging the fuzzy-matching behavior as an assumption to confirm.