Purely external tests miss defects hidden in internal logic. Some internal knowledge lets testers aim tests at risky areas.
When to use it
Use when a team has access to architecture documentation but not full source. Use in integration testing of components from different teams. Use for security testing with a known data model.
Sheet 2/4
How it works
The tester gets limited insight into the internals, such as architecture diagrams or selected modules. From these they identify data flows and risky paths, then write tests that exercise both interfaces and those paths. Results are interpreted using internal knowledge to locate causes. This sits between black-box and full white-box approaches, which is normally called gray-box testing.
You need
Architecture documents or partial code access, requirements, a test environment.
You get
A set of test cases, execution results and a defect list.
Sheet 3/4
Case
Illustrative case
Pine Ledger, a small accounting software team, gets a third-party tax module with an interface description and a database schema but no source code. The QA lead reads the schema, sees that rounding is done in the database, and writes tests for edge cases such as split invoices at 0.005 boundaries. Two tests fail, exposing a rounding mismatch with the front end. The vendor fixes it in the next release, and the tests are added to the regression suite.
A fictional company used to explain the model.
Sheet 4/4
Caution
When to avoid it
Not relevant to business strategy work.
Wrong when full code access is available and unit-level coverage is needed.
Misleads when the partial knowledge is outdated.
Common mistakes
Using the term for gray-box and white-box inconsistently.
Relying on outdated diagrams.
Writing tests only for the visible internals.
Skipping black-box tests of user behaviour.
Known weaknesses
Terminology is inconsistent across teams
Coverage depends on what is visible
Knowledge may be stale
Outside the scope of strategy and management methods
How to apply it in 5 steps
How to apply it
White-box testing (clear-box testing)
5 steps
01of 5
Step 1 of 5: Get partial access
Obtain architecture notes, interface specs or selected modules.
01
02of 5
Step 2 of 5: Analyse risks
Identify data flows and risky paths from the available information.
02
03of 5
Step 3 of 5: Design tests
Combine tests at the interface with tests aimed at the known internals.
03
04of 5
Step 4 of 5: Run tests
Execute and observe outputs and any internal state available.
04
05of 5
Step 5 of 5: Analyse results
Locate defects using the internal knowledge.
05
Click to unfold
Use the arrow keys to move between steps, Home and End for the first and last, and Enter to fold or unfold the booklet.
View all 5 steps
01
Get partial access
Obtain architecture notes, interface specs or selected modules.
02
Analyse risks
Identify data flows and risky paths from the available information.
03
Design tests
Combine tests at the interface with tests aimed at the known internals.
04
Run tests
Execute and observe outputs and any internal state available.
05
Analyse results
Locate defects using the internal knowledge.
Which decisions it helps with
Decision profile
Keyboard: Tab to the sheet, use the arrows to explore the assessments and their questions, and press Escape to close the note.
IIIResources required
TimeSeveral daysThe questionHow much time can you spend on this?Assessment · Several days · confidence 77 %
PeopleA small group (2 to 8)The questionHow many people will take part?Assessment · A small group (2 to 8) · confidence 51 %
DataBetween “a few readily available facts” and “data collected for the purpose”The questionWhat data do you have available?Assessment · Between “a few readily available facts” and “data collected for the purpose” · confidence 45 %
ExpertiseWorks best with a facilitatorThe questionDoes anyone have experience with methods like these?Assessment · Works best with a facilitator · confidence 48 %
Time horizonDays or weeksThe questionHow far ahead do you need to plan?Assessment · Days or weeks · confidence 77 %
ScopeOne teamThe questionWho will this decision affect?Assessment · One team · confidence 88 %
FrequencyOccasionallyThe questionIs this a one-off decision or something you expect to repeat?Assessment · Occasionally · confidence 86 %
The team’s own knowledge is enoughThe questionCan you speak to customers, users or people outside your organisation?Assessment · The team’s own knowledge is enough
View full profile
Preliminary assessment: few details on this model card have been verified.
IIdentity
Type of tool
Other formatDoes not fit neatly into the available categories
The questionWhat kind of tool is it?Assessment · Other format · 32 %
Decision stage
Plan the work, roles and deadlineslikely
The questionWhat stage of the decision are you at?Assessment · Plan the work, roles and deadlines · 64 %
What it applies to
A product or servicelikelyalso: processes and operations (40 %)
The questionWhat is the decision about?Assessment · A product or service · 60 % · also Processes and operations · 40 %
Discipline
Agile and software developmentvery likely
The questionWhich discipline does it come from?Assessment · Agile and software development · 100 %
IITen axes
The dot shows which end the model favours. A hollow dot means no clear preference.
DirectionExecutionThe questionAre you setting direction or improving day-to-day operations?Assessment · Execution · confidence 99 %
Top-downBottom-upThe questionShould leadership set the direction, or should the answer come from the people doing the work?Assessment · Bottom-up · confidence 57 %
PeopleProcessesThe questionIs this mainly a people problem or a process problem?Assessment · Processes · confidence 83 %
Generate optionsNarrow down optionsThe questionDo you need to generate more options or narrow them down?Assessment · Mostly narrow down options · confidence 49 %
Step-by-step analysisIntuition and experienceThe questionWould you rather work through the evidence step by step or draw on the group’s experience?Assessment · Mostly analysis · confidence 64 %
A strict sequence of stepsA flexible frameworkThe questionWould you prefer a precise set of steps or a framework you can adapt?Assessment · Mostly a flexible framework · confidence 59 %
Protect what we haveTake a riskThe questionDo you need to protect what you have or take a chance on something new?Assessment · Protect what we have · confidence 98 %
Improve what we haveFundamental changeThe questionDo you want to improve what you have or change it fundamentally?Assessment · Improve what we have · confidence 91 %
Inside the organisationOutside the organisationThe questionWhere do you expect to find the answer, inside your organisation or in the market?Assessment · Inside the organisation · confidence 88 %
Understand firstAct nowThe questionDo you need to understand the situation first or act now and learn as you go?Assessment · Both equally · confidence 52 %
IVUseful when
Applicable traits
How it supports actionDecide what comes firstThe questionWhat do you need in order to act?Assessment · Decide what comes first · 98 %
Product stageTesting whether the idea worksThe questionWhat stage is your product at?Assessment · Testing whether the idea works · 59 %
How was this profile calculated?
An automated system reads each model card and answers the same questions for every model. This profile has answers for 77 of 77. No answers are entered by hand.
A very high probability counts as “yes” and a very low one as “no”. Intermediate answers are hidden.
On the axes, mixed means the model favours neither end.
Myers, G. J. (1979). The Art of Software Testing. Wiley.Classic best-selling testing book (1979); its ch. 2 defines white-box testing as deriving test data from the program's logic (quoted in Univ. of Auckland lecture notes).View source: The Art of Software Testing (opens in a new tab) ↗
The catalogue does not yet list a published critique of this specific model.