Test Basis
What is Test Basis?
Test basis refers to all the documentation and information from which test cases and test conditions are derived.
Common Sources of Test Basis
- Business and functional requirements documents.
- Design and architecture specifications.
- Use cases and user stories.
- Risk analysis documents.
- Regulatory or industry standards.
- The source code itself (for structure-based testing).
Why Test Basis Matters
A clear, well-documented test basis ensures test cases are grounded in real requirements rather than assumptions, and provides traceability back to the origin of every test.
From Test Basis to Test Cases
The test basis is the raw material; test cases are the finished product. Turning one into the other follows a predictable path.
- Collect and review the documents that describe the feature.
- Identify test conditions: the things that need checking, such as "user can reset a password".
- Apply test design techniques like equivalence partitioning, boundary value analysis or decision tables to each condition.
- Write test cases with steps, data and expected results.
- Link each case back to its source item in a traceability matrix.
Worked example
A user story says: "As a customer, I can apply a discount code at checkout. Codes are 6 to 10 characters, and expired codes show an error."
| Test condition | Example test cases |
|---|---|
| Valid code accepted | Apply an active 8-character code; total reduces correctly |
| Length boundaries | Try 5, 6, 10 and 11 characters |
| Expired code | Apply an expired code; error message shown, total unchanged |
| Unclear area | Is the code case-sensitive? Raise a question before testing |
That last row matters. Reviewing the test basis often exposes gaps, and asking early is far cheaper than finding a defect later.
Reviewing the Test Basis Itself
Testers add value even before writing a single case by checking whether the basis is testable. Look for:
- Vague words such as "fast", "user-friendly" or "secure" without measurable criteria.
- Missing error handling: what happens with empty input, timeouts or invalid data?
- Contradictions between the user story, the design and the acceptance criteria.
- Requirements that depend on other systems without describing the interface.
Test Basis in Agile Teams
In Agile projects, heavy specification documents are rare. The test basis usually comes from user stories, acceptance criteria, wireframes, API contracts such as OpenAPI files, conversations during backlog refinement, and the behaviour of the existing product. When documents are thin, record key decisions in the story itself so the basis does not live only in someone's memory.
For experience-based testing, such as exploratory sessions, the tester's knowledge of similar products and past defects also acts as part of the basis.
Common Mistakes
- Testing from assumptions when the basis is unclear, instead of asking.
- Not versioning the basis, so tests no longer match the latest requirement.
- Skipping traceability, which makes impact analysis slow when requirements change.
- Treating the current build's behaviour as the only basis, which turns existing bugs into "expected results".
Ready to master real-world software testing?
Learn manual and automation testing hands-on with mentor-led sessions.