Skip to content
Moamen Elmasry
FREN
Your path · 0 of 29 skills
Back to the course

Module 01 · Testing basics · 15 min

Exercise: one criterion, end to end

The description-length rule of ClaimTriage, from its decided limits to its full list of cases, each at its level.


Review

From the previous lesson: the routing function returns queue-A for every critical claim. At which level is that proven, and why not through the screen?

The rule

The product owner has decided it, and the decision is in the backlog:

Description length. Given an agent pastes a claim description, when they submit it, then ClaimTriage accepts it if it has from 20 to 2,000 characters, both included. Otherwise ClaimTriage rejects it with the error DESC_LENGTH, shows the agent the accepted range, and sends nothing to the model.

1. The boundaries

Five figures from the length rule
characters
characters
characters
characters
classes

2. The cases

List the test cases for this rule. For each: what is typed, the expected result, the technique it comes from, and its level. Then name one question the rule does not answer.

3. Your own case

Your own case · Part 1, module 01

The test cases of one of your criteria

Pick one acceptance criterion from a product you work on, one with at least one limit in it. Rewrite it if it is not testable, and leave "to confirm" what nobody has decided, with who decides. Then list its cases: nominal path, equivalence classes, boundary values, errors. For each case, its expected result, where that result comes from, and the lowest level that can prove it.

Saved in this browser. It goes into your record.

That is the first module. You know what a test proves, where its expected result must come from, how to derive cases and at which level to run them. The next module is about running them: a campaign, its verdicts, its defects, and the moment someone asks where it stands.