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.
Similar content being viewed by others
References
Anderson Stuart (2011) Mutation testing. http://www.inf.ed.ac.uk/teaching/courses/st/2011-12/Resource-folder/09_mutation.pdf
BCS SIGIST (2001) Standard for Software Component Testing by British Computer Society Specialist Interest Group in Software Testing. http://www.testingstandards.co.uk/Component%20Testing.pdf
Beizer B (1990) Software testing techniques, 2nd edition. Coriolis Group, Scottsdale. ISBN: 1850328803
Black-box vs. White-box Testing (2011) Choosing the right approach to deliver quality applications. TestPlant Ltd. http://www.testplant.com/wp.../BB_vs_WB_Testing-1.pdf
IEEE (1990) IEEE standards collection: glossary of software engineering terminology, IEEE Standard 610.12. IEEE, Vancouver
Jalota P (2005) An integrated approach to software engineering, 3rd edn. Narosa Publication, New Delhi
Lirias (2012) https://lirias.kuleuven.be/bitstream/123456789/134277/1/Paper.pdf. Accessed 5 Jul 2012
Mathur AP (2012) Foundations of software testing chapter 6: test adequacy measurement and enhancement: control and data flow. http://www.cs.purdue.edu/homes/apm/.../Chapter-6.ppt. Accessed 5 Jul 2012
My Bham (2012) http://www.cs.bham.ac.uk/~exc/Teaching/STesting/Lectures/10.%20Data%20flow%20testing.pdf. Accessed 5 Jul 2012
Pressmen RogerS (2004) Software engineering: a practitioner’s approach, 6th edn. McGraw-Hill, New York
Runeson P, Wohlin C (1992) Usage modelling: the basis for statistical quality control. Proceedings 10th Annual Software Reliability Symposium. Denver, pp. 77–84
Runeson P, Wohlin C (1993) Statistical usage testing for software reliability certification and control. Proceedings 1st European International Conference on Software Testing, Analysis and Review. London, p 309–323
Software Testing Fundamentals (2012) http://softwaretestingfundamentals.com/differences-between-black-box-testing-and-white-box-testing/. Accessed 5 Jul 2012
Software Testing Genius (2012) http://www.softwaretestinggenius.com/articalDetails?qry=498. Accessed 5 Jul 2012
Software Testing Help (2012) http://www.softwaretestinghelp.com/what-is-boundary-value-analysis-and-equivalence-partitioning/. Accessed 5 Jul 2012
Topics in Software Dynamic White-box (2007) Testing Part 1: Control-flow Testing. http://www.cs.drexel.edu/~spiros/teaching/SE320/.../controlflow-testing.pdf
Whittaker JA, Poore JH (1992) Statistical testing for Cleanroom software engineering, vol. 2. Proceedings of the Twenty-Fifth Hawaii International Conference, System Sciences, p 428–436. ISBN: 0-8186-2420-5
Author information
Authors and Affiliations
Corresponding author
Rights 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
Received:
Revised:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s13198-013-0157-6