CTFL Test Design Techniques

Master test design techniques for ISTQB Certified Tester Foundation Level (CTFL)

4.1 Identifying Test Conditions and Designing Test Cases

Test conditions are specific aspects of a system to be tested (e.g., a feature or requirement). Designing test cases involves creating detailed steps, inputs, and expected outcomes to verify these conditions.

Key Steps:

  • Identify test conditions from requirements or specifications.
  • Design test cases with clear objectives, inputs, and expected results.
  • Ensure traceability to requirements for coverage.

4.2 Categories of Test Design Techniques

Test design techniques are categorized into three main types:

Note: Each category suits different testing needs and contexts.

4.3 Specification-Based or Black-Box Techniques

Black-box techniques design tests based on the system’s external behavior, using specifications or requirements. Common techniques include:

Key Point: Black-box techniques are effective for functional testing without code knowledge.

4.4 Structure-Based or White-Box Techniques

White-box techniques design tests based on the system’s internal structure or code. Common techniques include:

Note: White-box techniques require knowledge of the code and are often used in component testing.

4.5 Experience-Based Techniques

Experience-based techniques rely on the tester’s skills, intuition, and knowledge of similar systems. Common techniques include:

Key Point: These techniques are useful when specifications are incomplete or time is limited.

4.6 Choosing a Test Technique

Selecting the appropriate test technique depends on several factors:

Note: Combining techniques often provides the best coverage.

Chapter Review

This chapter covers test design techniques for the ISTQB CTFL syllabus, including identifying test conditions, categorizing techniques, and understanding black-box, white-box, and experience-based approaches. Choosing the right technique enhances testing effectiveness.

Sample Exam Questions

Test your knowledge with these sample questions:

  1. What is the difference between a test condition and a test case?
  2. Name two black-box test design techniques.
  3. What does decision coverage measure in white-box testing?
  4. When is exploratory testing most useful?

Exercises: Test Design Techniques

Exercise 1: For a login system accepting passwords of 6–12 characters, design test cases using Boundary Value Analysis.

Exercise 2: Describe a scenario where error guessing would be an effective testing technique.