Skip to main content
Log in

Abstract

Testing is the process of exercising a program with the explicit goal of detecting errors prior to delivery to the end user. There are a variety of testing techniques available. They are broadly classified into black box techniques and white box testing techniques. Strategies for black box testing are based on the specification of the software component under test. Tests developed using the black box techniques detect errors against the functional requirements of software. On the other hand strategies for white box testing are based on the internal logic of software components. White box test suites are derived from the source code of the software component under test. This paper aims to study various testing techniques and their comparative analysis. The first section of the paper is a qualitative description of various White box and black box testing techniques. The second section of the paper uses C programs to demonstrate the process of testing used by different testing techniques. The paper uses ten C programs for testing. Two cases are used as illustrations in the second section of the paper. The paper presents the results of testing different programs of varying complexity using seven types of testing techniques. The last section presents a comparative analysis of various testing techniques on different parameters and their results.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17
Fig. 18
Fig. 19

Similar content being viewed by others

References

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kamaldeep Kaur.

Appendices

Appendices

See appendix Tables 15, 16, 17, 18.

Table 15 Comparison of black box and white box testing
Table 16 Comparison of various white box testing techniques (control flow testing, data flow testing and mutation testing)
Table 17 Comparison of various black box testing techniques (equivalence class partitioning, boundary value analysis, SUT and cause effect graphing)
Table 18 List of programs tested

Rights and permissions

Reprints and permissions

About this article

Cite this article

Kaur, K., Khatri, S.K. & Datta, R. Analysis of various testing techniques. Int J Syst Assur Eng Manag 5, 276–290 (2014). https://doi.org/10.1007/s13198-013-0157-6

Download citation

  • Received:

  • Revised:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s13198-013-0157-6

Keywords

Navigation