INTEGRATION TESTING
Testing the data flow or interface between two features is known as integration testing.
Take 2 features A & B. Send some
data from A to B. Check if A is sending data and also check if B is receiving
data.
Now let us consider the example of
banking s/w as shown in the figure above ( amount transfer ).
Scenario
1 – Login as A to
amount transfer – send 100rs amount – message should be displayed saying
‘amount transfer successful’ – now logout as A and login as B – go to amount
balance and check balance – balance is increased by 100rs – thus integration
test is successful.
Scenario
2 – also we check
if amount balance has decreased by 100rs in A
Scenario
3 – click on
transactions – in A and B, message should be displayed regarding the data and
time of amount transfer
Thus
in Integration Testing, we must remember the following points,
1)
Understand the
application thoroughly i.e, understand how each and every feature works. Also
understand how each and every feature are related or linked to each other.
2)
Identify all
possible scenarios
3)
Prioritize all the
scenarios for execution
4)
Test all the
scenarios
5)
If you find
defects, communicate defect report to developers
6) Do positive and negative integration testing. Positive – if there is total balance of 10,000 – send 1000rs and see if amount transfer works fine – if it does, then test is pass. Negative – if there is total balance of 10,000 – send 15000rs and see if amount transfer happens – if it doesn’t happen, test is pass – if it happens, then there is a bug in the program and send it to development team for repairing defects.
No comments:
Post a Comment