Fundamentals of testing
Test condition - ANSAn item or event of a factor or machine that might be demonstrated with the
aid of one or extra take a look at cases
Test case - ANSA set of input values, execution preconditions, predicted effects, and execution
postconditions, inclusive of to exercising a part of the code
Test procedure specification - ANSA sequence of moves for the execution of a check
Reasons to recognise take a look at insurance - ANS1) Provide a quantitative measure of the
best of trying out that has been achieved
2) Provides a way of estimating how a whole lot greater checking out is wanted
Three classes of take a look at case layout techniques - ANS1) Black container techniques
2) White field strategies
3) Experience primarily based strategies
Specification based totally techniques - ANSBlack container testing - test cases derived at once
from a specification or a model of a machine or proposed device (documentation)
5 types of specification based totally strategies - ANS1) Equivalence partitioning
2) Boundary cost analysis
three) Decision table testing
four) State transition testing
five) Use case testing
Equivalence partitioning - ANSReduces the range of checks wanted by using thinking about
walls are the most effective test instances wished
Boundary price analysis - ANSLooks for checks that focus on the possible boundaries of inputs,
noting that most errors occur there
Decision desk checking out - ANSUses a desk to list out all viable inputs and moves that may
get up to ensure every are tested
State transition trying out - ANSUses a state diagram to listing out all the feasible states and
transitions that may occur to ensure every are tested