Presentation is loading. Please wait.

Presentation is loading. Please wait.

Black-box Testing Lakeisha Dubose November 30, 2006 CSCI 362.

Similar presentations


Presentation on theme: "Black-box Testing Lakeisha Dubose November 30, 2006 CSCI 362."— Presentation transcript:

1 Black-box Testing Lakeisha Dubose November 30, 2006 CSCI 362

2 V & V Process The purpose of testing software is to ensure that it : Validation – the software works properly Validation – the software works properly Verification – the software meets the customer’s requirements Verification – the software meets the customer’s requirements

3 Definition Also referred to as behavioral and functional testing Also referred to as behavioral and functional testing Tests the functions of software without knowing the internal structure Tests the functions of software without knowing the internal structure Inputs and Outputs Inputs and Outputs

4 Advantages The tester does not know the internal structure of the software The tester does not know the internal structure of the software The tester does not need to know how the software operates The tester does not need to know how the software operates The test cases are unbiased The test cases are unbiased The test cases can be designed when the requirements are complete The test cases can be designed when the requirements are complete

5 Disadvantages The test cases are difficult to create The test cases are difficult to create All paths will not get tested All paths will not get tested The tests can be redundant The tests can be redundant

6 Test Cases Most important factor Most important factor Verify the software’s specifications and requirements Verify the software’s specifications and requirements Precondition and Post condition Precondition and Post condition Should not be changed Should not be changed

7 Equivalence Partitioning & Boundary Value Analysis Equivalence Partitioning (EP) involves selecting all possible user inputs to cover all possible scenarios of the execution of the system Equivalence Partitioning (EP) involves selecting all possible user inputs to cover all possible scenarios of the execution of the system Boundary value analysis (BVA) involves testing the software with valid and invalid inputs inside and outside of its boundaries Boundary value analysis (BVA) involves testing the software with valid and invalid inputs inside and outside of its boundaries

8 Date Example Partitions Partitions [-2 -1 | 0 | 1 2 | 30 31] Day [-2 -1 | 0 | 1 2 | 11 12] Month Boundaries Boundaries December 31, January 1, May 15, August 31, September 32, October -4, Julie 8

9 Testing is a valuable process in software development. It is the method by which software engineers verify that software works properly. Black-box testing verifies that the software meets the customer’s requirements. A software engineer should thoroughly test the software and release it only when they are certain that it is at its best.


Download ppt "Black-box Testing Lakeisha Dubose November 30, 2006 CSCI 362."

Similar presentations


Ads by Google