Professional Documents
Culture Documents
Testing.
Day 3-Session 1
Lavanya.M
Testing
Static Testing
Static testing, the review, inspection and
validation of development requirements, is the most effective and
cost efficient way of testing.
Dynamic Testing
Testing that is commonly assumed to mean
executing software and finding errors is dynamic testing
Equivalence Partitioning
Error Guessing
Equivalence partitioning
Equivalence Partitioning: An approach where classes of inputs are
categorized for product or function validation. This usually does not
include combinations of input, but rather a single state value based by
class. For example, with a given function there may be several classes
of input that may be used for positive testing. If function expects an
integer and receives an integer as input, this would be considered as
positive test assertion. On the other hand, if a character or any other
input class other than integer is provided, this would be considered a
negative test assertion or condition.
E.g.: Verify a credit limit within a given range(1,000 – 2,000). Here we can
identify 3 conditions
1. < 1000
2. Between 1,000 and 2,000
3. >2000
Techniques.
Min-1Fail
Min+1Pass
Max Pass 16 to 80
Max-1Pass
Max+1Fail
Error Guessing
Based on the Functionality, and the
experience of the Tester. They will have a
intuition.
E.g.: Date Input – February 30, 2000
Decimal Digit – 1.99.
Levels of Testing
Unit Testing
Integration Testing
System Testing
Acceptance Testing
Unit Testing
Require knowledge of code
– High level of detail
– Deliver thoroughly tested components to
integration
Stopping criteria
– Code Coverage
– Quality
Integration Testing
Strategies
– Bottom-up, start from bottom and add one at
a time
– Top-down, start from top and add one at a
time
– Big-bang, everything at once
Simulation of other components
– Stubs receive output from test objects
– Drivers generate input to test objects
System Testing
Functional testing
– Test end to end functionality, Testing against
complete requirement.
– Requirement focus
• Test cases derived from specification
Use-case focus
• Test selection based on user profile
Acceptance Testing