The Tool Desk
Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Equivalence partitioning (EP) is a black-box test-design technique: divide inputs or other relevant data into non-empty groups expected to be treated similarly, then test representative values from every group. Good partitions come from the requirement and expected behavior—not from an assumption that one sample proves every value in its group works.
What equivalence partitioning means
ISO/IEC/IEEE 29119-1:2022 defines an equivalence partition as a class of inputs or outputs expected to be treated similarly by the test item. Equivalence partitioning designs test cases to exercise those partitions using representative members. The ISTQB Certified Tester Foundation Level Syllabus v4.0.1 presents EP as a black-box technique for deriving test cases.
As an Amazon Associate I earn from qualifying purchases.
A partition is a reasoned hypothesis about behavior, grounded in a specification, interface contract, or other test basis. A single test exercises a representative; it does not establish that every member behaves identically. ISTQB cautions that understanding how a test object treats different values can be complicated, so partitioning requires care.
How to build useful partitions
- Start with the test basis. Identify the requirement, contract, or expected behavior, then list the data and conditions that affect it.
- Group by expected treatment. Put values together only when the test object is expected to handle them similarly. Partitions may describe inputs, outputs, configuration items, internal values, time-related values, or interface parameters. They can be continuous or discrete, ordered or unordered, finite or infinite.
- Check the partition structure. Each partition must be non-empty, and the partitions should not overlap. Make sure the groups represent the relevant possibilities in the requirement rather than leaving unexplained gaps.
- Identify valid and invalid groups. A valid partition contains values that should be accepted or processed under the applicable interpretation; an invalid partition contains values expected to be rejected, ignored, or left without defined processing. State the interpretation: specifications and teams may define validity differently.
- Choose representatives and expected results. Select at least one value from each partition and record the expected result for that test. Include invalid partitions, not only accepted values.
- Review assumptions and risk. Revisit a group if the specification implies different outcomes within it, or if risk suggests that one representative is inadequate. Refine the partitions before treating coverage as meaningful.
Worked example: a specified numeric range
Suppose a requirement says a field accepts whole numbers from 18 through 65, inclusive, and rejects numbers outside that range with a validation error. That hypothetical requirement creates three partitions:
| Partition | Example representative | Expected result |
|---|---|---|
| Below range: values less than 18 (invalid) | 17 | Reject with a validation error |
| In range: values from 18 through 65, inclusive (valid) | 40 | Accept or process the value |
| Above range: values greater than 65 (invalid) | 66 | Reject with a validation error |
The values and expected results here follow the example requirement; they are not universal rules for numeric fields. If the actual contract accepts decimals, treats blank input specially, or uses a different error response, those behaviors need partitions or additional tests of their own.
What partition coverage tells you
EP coverage is the number of identified partitions exercised by at least one test case divided by the total number of identified partitions, expressed as a percentage:
EP coverage = (identified partitions exercised ÷ total identified partitions) × 100%
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Clear out junk files and repair common Windows errorsFree Scan →Under the ISTQB criterion, 100% EP coverage means every identified partition—including invalid partitions—has been exercised at least once. It does not mean every possible input value or every combination of values was tested, and it does not prove the software is defect-free. Coverage is only as complete as the partitions identified from the test basis.
Multiple parameters: each-choice coverage
For a feature with multiple parameters, track partitions for each parameter separately. Each-choice coverage means every partition in each parameter’s set appears in at least one test. It does not require every cross-parameter combination. For example, testing each color partition and each size partition independently may leave some color-size pairs untested. Where interactions matter, add combination-oriented tests rather than treating EP alone as combination coverage.
When to add boundary value analysis or decision tables
Choose the technique to match the requirement and the coverage question. EP targets representative behavior groups; boundary value analysis targets edges of ordered partitions; decision table testing targets combinations of conditions and the outcomes those combinations produce. These are complementary techniques, not a universal ranking.
Rank #4
Boundary value analysis
For the inclusive 18–65 example, boundary value analysis adds tests around 18 and 65, where mistakes in comparisons or limits are likely to matter. ISTQB describes two-value BVA as testing a boundary and its closest neighbor across the adjacent partition; three-value BVA tests the boundary and both neighbors. BVA focuses on partition boundaries—it does not replace identifying the partitions first.
Decision tables
Use a decision table when outcomes depend on combinations of conditions. EP can help identify behavior groups for individual conditions or values, but it does not by itself ensure that the combinations producing different outcomes have been exercised.
Best Value
Or skip the browser setup
Equivalence partitioning is a software test-design method, not a screenshot-API task. If a testing workflow also needs website captures, ScreenshotNeo is a website screenshot API and MCP server for developers. Its one-call screenshot request is:
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
Quick Recap
See the ScreenshotNeo API documentation for request options. It removes cookie banners, newsletter popups, and chat widgets before capture; bot checks, blank pages, and failed loads are never billed. Its MCP server lets AI agents take screenshots. The free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000. Sign up for ScreenshotNeo’s free plan.
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




