III. BLACK BOX TESTING

 

 

• Syntax-Driven Methods

Generative Grammar (e.g., BNF) For Input

Examples: <Statement> ::= <Command> <Argument_List>

ATM Operator, Desk Calculator,

Text Editor, Office Forms (e.g., Invoices)

 

• Decision Table Specifications

Rules_Describing_Input ® Output (Actions)

Rule = Conjunction of Conditions C1 Ù C2 Ù C3 Ù . . .

Examples: Gate Controller, Word Processor

 

• How To Test A Module M

Example:

M USES M1 and M2; M1 and M2 Not Available.

M Used Within Environment Of M3.

* STUBS For Procedures of M1 and M2

Same Interface; Simplified Behavior

Sorting Example

* DRIVER To Replace M3

Access To Non-Local Variables

 

• Testing Concurrent Software