Shared Flashcard Set

Details

Software Engineering
Chapter 14
10
Other
Not Applicable
07/26/2006

Additional Other Flashcards

 


 

Cards

Term
Black Box Testing
Definition
The code itself is ignored; the only information used in drawing up test cases is in the specification document. Exhaustive black-box testing is impossible in practice because there can easily be too many test cases to consider.
Term
Defensive Programming
Definition
if(x >= 0)
y = computeSquareRoot(x, errorFlag); computeSquareRoot is never invoked unless the value of x is non-negative. The artifact can never be tested with negative values of x to see if it behaves correctly.
Term
Fourth generation language (4GL)
Definition
Each statement is equivalent to 40 or 50 machine instructions. 4GL products are shorter and quicker to develop and easier to maintain.
Term
Integration
Definition
Code and test each artifact separately, link together all artifacts, and test the product as a whole.
Term
Branch Coverage
Definition
Running a series of tests to ensure that all branches are tested at least once.
Term
Path Coverage
Definition
Testing all paths.
Term
Statement Coverage
Definition
Running a series of test cases during which every statement is executed at least once.
Term
Driver
Definition
A code artifact that calls a module one or more times, if possible checking values returned by the artifact under test.
Term
Stub
Definition
An empty artifact. Could return values corresponding to preplanned test cases.
Term
Unit Testing
Definition
Testing an artifact as soon as it is coded.
Supporting users have an ad free experience!