ISTQB Certified Tester Foundation Level
Test analysis vs test design vs test implementation (CTFL)
Test analysis decides what to test: it studies the test basis and defines test conditions. Test design decides how to test: it turns the conditions into test cases and defines test data and environment needs. Test implementation creates what execution needs: procedures, scripts, suites, test data and the environment. This follows ISTQB's CTFL v4.0 syllabus.
What are the seven groups of test activities?
Test planning defines the test objectives and chooses an approach that meets them within the constraints of the context. Test monitoring keeps checking all test activities and compares actual progress with the plan. Test control takes the actions needed to meet the objectives.
Test analysis examines the test basis to find testable features, then defines and prioritizes test conditions with the related risks in mind. It also checks both the test object and the test basis for defects and for how testable they are. Test design works the conditions up into test cases and further testware such as test charters. It often identifies coverage items, defines test data requirements, designs the test environment and identifies the infrastructure and tools needed.
Test implementation creates or acquires the testware for execution. Test cases are organized into test procedures, and procedures are often grouped into test suites. Test scripts are written, manual and automated. Procedures are prioritized and placed in a test execution schedule. The test environment is built and checked. Test execution runs the tests according to that schedule, compares actual with expected results, logs the results and analyses anomalies so they can be reported.
Test completion usually happens at milestones such as a release, the end of an iteration or the end of a test level. Unresolved defects become change requests or product backlog items. Useful testware is archived or handed over, the test environment is closed down and left in a state that was agreed, lessons learned are identified and a test completion report is written.
Which testware comes from which activity?
Planning: the test plan, plus the test schedule, the risk register and the entry and exit criteria, which are often part of it. Monitoring and control: test progress reports, documentation of control directives, and information about risks.
Analysis: prioritized test conditions, such as acceptance criteria, and defect reports about defects in the test basis when they are not fixed directly. Design: test cases (prioritized), test charters, coverage items, and the requirements for test data and for the test environment.
Implementation: test procedures and test suites, test scripts (manual and automated), test data, the test execution schedule, and items for the test environment such as stubs, drivers, simulators and service virtualizations. Execution: test logs and defect reports. Completion: the test completion report, action items for improvement, documented lessons learned and change requests.
Do the activities run in sequence?
Not necessarily. They can look like a logical sequence, but they are often carried out iteratively or in parallel, and they usually need tailoring to the system and the project.
Which activities are included, how they are done and when they happen is normally decided in test planning for the specific situation.
Where the exam catches people
- Placing the definition of test data requirements in implementation: stating what data is needed is test design. Creating or acquiring the data is test implementation.
- Placing the identification of coverage items in test analysis: analysis defines test conditions. Coverage items are identified in test design.
- Placing the building of test suites and the test execution schedule in test execution: both are test implementation work.
- Assuming every defect report comes from test execution: a defect found in the test basis during test analysis produces a defect report as an analysis work product.
- Placing entry and exit criteria in monitoring and control: they are test planning work products, often part of the test plan.