Presentation is loading. Please wait.

Presentation is loading. Please wait.

Software Testing Mehwish Shafiq. Testing Testing is carried out to validate and verify the piece developed in order to give user a confidence to use reliable.

Similar presentations


Presentation on theme: "Software Testing Mehwish Shafiq. Testing Testing is carried out to validate and verify the piece developed in order to give user a confidence to use reliable."— Presentation transcript:

1 Software Testing Mehwish Shafiq

2 Testing Testing is carried out to validate and verify the piece developed in order to give user a confidence to use reliable and quality software. IEEE definition of software quality is “the degree to which a system, component, or process meets specified requirements or the degree to which a system, component or process meets customer, user needs or expectations”. The software quality basically depends upon factors such as portability, maintainability, reliability, efficiency, security.

3 Basic Definitions Failure Defect Error Verification Validation

4 Types of Testing 1. White Box 2. Black Box 3. Basis Path 4. Control Structure

5 Types of Testing White Box Testing Also termed as glass box testing. Tests technical details of the software, that is, logic of the code is checked through specified paths along with the “status of the program” at various points that whether the expected status is corresponding to actual status or not. Parekh (2005) specifies the advantages of this testing to be the removal of unnecessary lines of code that causes problems hence optimizing the code.

6 Types of Testing Black Box Testing Also termed as “Opaque Testing”, “Functional/Behavioral Testing” and “Closed Box Testing” (Parekh, 2005). Black box testing uncovers error relating to interface, missing functions and data structures or external database access (Pressman, 2000). Test cases are developed to exercise all the functional requirements of software.

7 Types of Testing Basis Path Testing Tests all the independent paths that could be used to construct any arbitrary path through the computer program”.

8

9 Types of Testing Control Structure Testing Control structure testing is a white box testing technique. Control statements such as if, end-if, flow of data and program loops; are tested through this testing.

10 Test Cases Inputs to test the system and the predicted outputs from these inputs if the system operates according to its specification.

11

12 Modern Testing Approaches Agile testing uses Test Driven Development (TDD) approach for testing of software. In TDD test cases are developed before writing a functional code (Rosenburg, Stephens and Cope, 2005). These test cases help in developing comprehensive and error free code satisfying maximum constraints.

13 Static Analysis Tools Testing compiled software for bugs and errors before running it by analyzing the source code is called static analysis.

14 Thank You


Download ppt "Software Testing Mehwish Shafiq. Testing Testing is carried out to validate and verify the piece developed in order to give user a confidence to use reliable."

Similar presentations


Ads by Google