Breadth testing is a software testing technique in which all the features of application are tested but these all features are not tested in detail. Breadth testing can be seen through the integration testing point of view.
Integration testing can be done in many ways. But the two most popular ways are Top-Down approach and Bottom-up approach. Breadth-first testing or Depth-testing can be used by the Top-Down approach.
In Breadth-First testing all the modules are developed at the same level. In Breadth testing all the features of application are tested but these features are not tested in detail. In Depth testing all the features are tested in detail.
Top-Down approach can use combination of both the Breadth-first testing and Depth-first testing. Breadth testing and Depth testing can be used in many different contexts:
- Integration Testing: Developers decide whether to use Breadth testing or Depth testing based on the Top-Down approach.
- Sanity Testing: Here the Developers checks whether the full functionality of the application is working or not by using the Breadth-first testing.
- Functionality Testing: A combination of both the testing that is the breadth testing and depth testing is used to check the full functionality. Breadth testing is used to test all the features and depth testing is used to test all these features in detail.
- Test Coverage metrics: This is used to test how many features are covered and how many features are tested in detail.