Friday, May 15, 2009

What is Big-Bang testing?

Big Bang Testing Approach

In big bang approach, all the units (after individually unit testing each) that make up the system are assembled at once. After going through all the integration problems, you get a running system which you test. One of the advantage is that obviously it is quick and cheap. No drivers, stubs, harness, or mock objects are needed. No special effort building and deploying intermediate builds of parts of the system are needed. These advantages are often outweighted by the disadvantages for large systems.

Example of Big-Bang Approach

The Next Date program is a very well used testing example, as it is simple in its nature however can be tricky when trying to make Test Cases. As the name suggests it traditionally takes a date from the user, and returns the next date for the users input. For example, if given August 2nd 2006 it would return August 3rd 2006.

An Example for testing with the Big Bang approach on the Next Date program would require no stub files, but would however require a driver as no User Interface has been made for the example, some tests that could be run are listed below:

Example Tests with a Big Bang Approach

Expected ResultTest To Perform
PASSCreate new date for 28/02/2006
FAILCreate new date for 29/02/2006

[Source of Example]

Also See:

Disadvantages of Big-Bang Testing
Integration Testing
Example of Integration & System Testing
Difference between Integration & System Testing
Integration Test Plan Templates
Integration & System Testing Checklist