Black, grey and white box testing
Test approaches defined by what the tester knows beforehand: black box knows nothing (outsider view), grey box knows some (insider view), white box knows everything (full knowledge).
Understanding Black, grey and white box testing in WA Computer Science ATAR Unit 2
What it does: Grey box testing gives the tester some information, matching the insider view of a user with limited access. The dictionary shows the core idea: the amount of prior knowledge goes from none to some to all. An outsider usually starts with no inside knowledge, which is the black box view. White box means full knowledge. Black box is the one where the tester knows nothing.
Common mistakes: Knowing nothing and having an external attacker view describes black box testing. White box testers know everything, so line 1 should be approach = "black box". A black box tester knows nothing about the system beforehand. Line 2 should be tests["black"] = "none".
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 125–266) and word search (Modules 28–266).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
Black, grey and white box testingFill in the Blanks
Spot the Error
Student with a class code? Join your class →