CSC/ECE 517 Fall 2009/wiki1b 4 xy: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
'''Integration testing:''' Integration testing is the next phase of unit testing. Generally in software development complete software is divided into various sub-systems mostly developed by different teams. More often than not each sub-system works very well individually but when they are integrated then lot of problems.
=''' Functional and integration testing and beyond''' =
 
== '''Integration testing''' ==
 
Integration testing is the next phase of unit testing. Generally in software development complete software is divided into various sub-systems mostly developed by different teams. More often than not each sub-system works very well individually but when they are integrated then lot of problems.


There are many approaches that can be followed for Integration Testing
There are many approaches that can be followed for Integration Testing
Line 5: Line 9:
* Big-Bang: As the name suggests all the components are integrated at once. After all the integration is completed a set of tests are run which not only validate a single component of sub-system but also test and validate the interaction between different components.  
* Big-Bang: As the name suggests all the components are integrated at once. After all the integration is completed a set of tests are run which not only validate a single component of sub-system but also test and validate the interaction between different components.  
** Disadvantages:
** Disadvantages:
Debugging and solving a fault is not that trivial. Because since this type of testing is done for the first time one cannot be sure whether the bug found was present in any sub-system or interaction between different sub-systems.
**#  Debugging and solving a fault is not that trivial. Because since this type of testing is done for the first time one cannot be sure whether the bug found was present in any sub-system or interaction between different sub-systems.
Testing process cannot be started until all the sub-systems have finished their development.
**# Testing process cannot be started until all the sub-systems have finished their development.
Writing test cases are also non-trivial.
**# Writing test cases are also non-trivial.


* Incremental Testing: As the name suggests testing is done after integration of one sub-system at a time. This solves the disadvantages of the Big-Bang.  
* Incremental Testing: As the name suggests testing is done after integration of one sub-system at a time. This solves the disadvantages of the Big-Bang.  
** Disadvantages:
** Disadvantages:
This approach is a time taking process. For a large system
**# This approach is a time taking process. For a large system

Revision as of 22:46, 20 September 2009

Functional and integration testing and beyond

Integration testing

Integration testing is the next phase of unit testing. Generally in software development complete software is divided into various sub-systems mostly developed by different teams. More often than not each sub-system works very well individually but when they are integrated then lot of problems.

There are many approaches that can be followed for Integration Testing

  • Big-Bang: As the name suggests all the components are integrated at once. After all the integration is completed a set of tests are run which not only validate a single component of sub-system but also test and validate the interaction between different components.
    • Disadvantages:
      1. Debugging and solving a fault is not that trivial. Because since this type of testing is done for the first time one cannot be sure whether the bug found was present in any sub-system or interaction between different sub-systems.
      2. Testing process cannot be started until all the sub-systems have finished their development.
      3. Writing test cases are also non-trivial.
  • Incremental Testing: As the name suggests testing is done after integration of one sub-system at a time. This solves the disadvantages of the Big-Bang.
    • Disadvantages:
      1. This approach is a time taking process. For a large system