PREP WITH PROOF
Menu
CERTIFICATION STUDY GUIDES / PRACTICAL GUIDE

ISTQB CTFL Study Guide: Equivalence Partitioning and Boundary Value Analysis

Learn ISTQB CTFL v4 test design with a worked eligibility form, valid and invalid partitions, and two-value and three-value boundary coverage.

THE QUICK ANSWER

Use equivalence partitioning to choose representative tests from groups that the specification treats the same way. Use boundary value analysis for ordered groups when errors are likely near an edge. Start with the stated rule and expected results, then calculate coverage against the relevant test items.

Create a small requirement to practice CTFL test design

Use the ISTQB Certified Tester Foundation Level syllabus to locate black-box test techniques. For this exercise, a training portal accepts an application when the entered age in whole years is between 18 and 65 inclusive. A number outside that range is rejected. A missing value or text entry produces a format message. Write the expected result before choosing any test input.

Separate the requirement about eligibility from the requirement about input format. For instance, 17 is a correctly formed whole number that fails the business rule, while an empty field never supplies a number. Give the two situations different expected results so a generic error message cannot satisfy your tests accidentally. Record the status or message you expect in each case.

Choose representative inputs for defined partitions

For whole numbers, identify three partitions: below 18, 18 through 65, and above 65. Choose a representative such as 10, 32, and 80. Each number exercises one of the three partitions. List the cases for blank or nonnumeric input separately if the form supports those input states and the specification defines their treatment.

Coverage depends on which partitions you identified. Testing ages 25, 32, and 40 explores three different values in the same valid age partition. It does not cover the invalid number partitions. Check whether a requirement calls for further groups. If zero receives a distinct message from other underage values, its expected treatment may justify a separate partition. Keep the partition definition tied to externally visible behavior.

Apply two-value and three-value boundary analysis

At the lower transition, 17 is the last invalid integer and 18 is the first valid integer. At the upper transition, 65 is the last valid integer and 66 is the first invalid integer. A two-value boundary set for this exercise is 17, 18, 65, and 66. Write the four expected results in that order and check whether the implementation treats inclusive limits correctly.

For three-value analysis, consider each boundary value with its adjacent integers. Taking the union of those points gives 16, 17, 18, 19, 64, 65, 66, and 67. You can write the neighborhoods around the four boundary values separately before removing duplicates. This makes the coverage calculation easier to check and shows why testing the two edges only with 18 and 65 misses neighboring behavior.

Explain what a failed edge test tells you

Suppose the portal accepts 19 and 65, rejects 17 and 66, and also rejects 18. Compare the expected and observed outcomes and report the smallest failing case. A stricter lower bound is a plausible cause. The observed behavior alone does not prove which condition or component implemented the rule incorrectly. Include the input, expected result, actual result, and test environment in the defect report.

Now change the rule so that 65 is rejected by design. Update the written requirement and recalculate the upper boundary. The last valid integer becomes 64 and the first invalid integer becomes 65. Explain how the same test evidence changes meaning when the agreed requirement changes.

Practice a second scenario without memorizing values

Try a quantity field that allows any integer from 2 to 12. List valid and invalid partitions, choose one representative per group, then locate the two transitions and derive neighboring tests. Compare your answer with a second learner’s and resolve differences by pointing to the accepted input types and expected behavior.

Finish by writing one test report sentence for a representative case and one for an edge failure. Check the syllabus for the remaining techniques, including decision tables and state transition testing. Each answers a different design question and needs its own practice.

KEEP THESE THREE THINGS

Your next steps

  1. Define expected outcomes before selecting partitions.
  2. Check both sides of integer transitions.
  3. Recalculate boundary tests when the requirement changes.

Sources & official resources

Linked resources checked on 2026-11-29. Technical behavior and provider guidance can change; check the documentation for the version you use.

About this guide and its recommendations

Published by Prep With Proof with AI-assisted drafting. Study routines and examples are editorial suggestions, not official exam instructions or claims of a learner's personal results. Cited provider facts are linked; ownership of recommended Prep With Proof products is disclosed. No competitor endorsement or guaranteed certification outcome is implied.

Suggest a correction →