Page 34 - SOFTWARE TESTING & QUALITY ASSURANCE
P. 34
Deepak Mehta, Division of Examination Unit 3: Black Box Testing
Unit 3: Black Box Testing
CONTENTS
Objectives
Introduction
3.1 Structural and Functional Testing
3.1.1 Black Box Testing
3.1.2 White Box Testing
3.2 Static Black Box Testing and Dynamic Black Box Testing Techniques
3.2.1 Test to Pass and Test to Fail
3.2.2 Equivalence Partitioning
3.2.3 Data Testing
3.2.4 State Testing
3.2.5 Random Testing and Mutation Testing
3.3 Summary
3.4 Keywords
3.5 Self Assessment
3.6 Review Questions
3.7 Further Readings
Objectives
After studying this unit, you will be able to:
• Illustrate structural and functional testing strategies and techniques
• Explain static black box testing techniques
• Explain dynamic black box testing techniques
• Discuss test to pass and test to fail
• Explain equivalence partitioning, data testing, and state testing
• Explain random testing and mutation testing
Introduction
We are aware that the Testing Technique specifies a strategy that is used in testing select input test cases
and analyze test results. There are various testing aspects that are revealed through the Structural and
Functional Testing. When the features and operational behavior of the product needs to be tested,
Functional Testing or Black Box Testing can be approached. The advantage of this kind of testing is that
they totally ignore the internal workings of the system.
Organizations have to make the right choice between Structural and Functional testing. With
increasingly complex applications, Total Cost of Ownership (TCO) and Return on Investment (ROI) are
two criteria that favor the Black Box testing technique. However, if the strength of the application needs
to be introspected, or if the application has to be checked for stability or needs to be ascertained for
thoroughness, it would have to undergo white box testing.
LOVELY PROFESSIONAL UNIVERSITY 27