Presentation is loading. Please wait.

Presentation is loading. Please wait.

Software Testing and Quality Assurance 1. What is the objectives of Software Testing?

Similar presentations


Presentation on theme: "Software Testing and Quality Assurance 1. What is the objectives of Software Testing?"— Presentation transcript:

1 Software Testing and Quality Assurance 1

2 What is the objectives of Software Testing?

3 Direct Objectives To identify and reveal as many errors as possible in the tested software To bring the tested software, after correction of the identified errors and retesting to an acceptable level of quality To perform the required tests efficiency and effectively, within budgetary and scheduling limitation

4 Indirect Objective To compile a record of software errors for use in error prevention (by corrective and preventive actions)

5 Stages of Testing Module or unit testing. Integration testing, Function testing. Performance testing. Acceptance testing. Installation testing.

6 Testing Strategies We began by 'testing-in-the-small' and move toward 'testing -in-the-large' For conventional software – The module (component) is our initial focus – Integration of module follows For OO software – OO class that include attributes and operations and implies communication and collaboration

7 Static Testing Static testing refers to testing that takes place without Execution - examining and reviewing it. Dynamic Testing Dynamic testing is what you would normally think of testing - executing and using the software.

8 Dynamic Testing Techniques used are determined by the type of testing that must be conducted – Functional – Structural

9 Functional Testing Structure of the program is not considered. Test cases are decided based on the requirements or specification of the program or module Hence it is often called as “Black Box Testing”.

10 Structural Testing Concerned with testing,the implementation of the program. Focus on the internal structure of the program. The intent of structural testing is not to exercise all the different input or output condition but to exercise the different programming structures and data structures in the program.

11 Testing Levels Phases of software testing: – Unit Testing – Integration/Build Testing – Validation/Functional Testing – System Testing – Acceptance Testing

12 Software Test Classification Software test may be classified – according to the testing concept or – to the requirement classification

13 According to Testing Concept What concept to test? – Output Output is used to archive an acceptable level of quality – Structural of the software Internal structural and calculations involved is included for satisfactory testing Two Classes have been developed – Black box testing Identify bug according to software malfunctioning Functionality testing – White box testing Examine internal calculation paths in order to identify bug Structural testing

14 According to Requirement The test id carried out to ensure full coverage of the respective requirement – Operation Correctness, Reliability, Efficiency, Integrity, Usability – Revision Maintainability, flexibility, testability – Transition Portability, reusabilily, interoperability From the requirement we can define the test classification White box and black box can be used implemented respectively

15 Test Classification according to Requirement Correctness 1.1 Output correctness tests 1.2 Documentation tests 1.3 Availability tests 1.4 Data processing & calculations correctness tests 1.5 Software qualification tests Reliability2. Reliability tests Efficiency3. Stress test (load tests and durability tests) Integrity4. Software system security tests Usability 5.1 Training usability tests 5.2 Operational usability tests Maintainability6. Maintainability tests Flexibility7. Flexibility tests Testability8. Testability tests Portability9. Portability tests Re usability10. Re usability tests Interoperability 11.1 Software interoperability tests 11.2 Equipment interoperability test

16 Test Classification according to Requirement Correctness 1.1 Output correctness tests 1.2 Documentation tests 1.3 Availability tests 1.4 Data processing & calculations correctness tests 1.5 Software qualification tests Reliability2. Reliability tests Efficiency3. Stress test (load tests and durability tests) Integrity4. Software system security tests Usability 5.1 Training usability tests 5.2 Operational usability tests Maintainability6. Maintainability tests Flexibility7. Flexibility tests Testability8. Testability tests Portability9. Portability tests Re usability10. Re usability tests Interoperability 11.1 Software interoperability tests 11.2 Equipment interoperability test

17 IEEE definitions Black box testing Testing that ignores the internal mechanism of the system or component and focuses solely on the outputs in response to selected inputs and execution conditions Testing conducted to evaluate the compliance of a system or component with specified functional requirements White box testing Testing that takes into account the internal mechanism of a system or component

18 Unit Testing Program reviews. Formal verification. Test each module individually. Testing the program itself. – black box and white box testing.

19 Black Box or White Box? Maximum # of logic paths - determine if white box testing is possible. Nature of input data. Amount of computation involved. Complexity of algorithms.

20 Unit Testing 20 module to be tested test cases results softwareengineer

21 Unit Testing Details Interfaces tested for proper information flow. Local data are examined to ensure that integrity is maintained. Boundary conditions are tested. Basis path testing should be used. All error handling paths should be tested. Drivers and/or stubs need to be developed to test incomplete software.

22 Generating Test Data Ideally want to test every permutation of valid and invalid inputs Equivalence partitioning it often required to reduce to infinite test case sets – Every possible input belongs to one of the equivalence classes. – No input belongs to more than one class. – Each point is representative of class.


Download ppt "Software Testing and Quality Assurance 1. What is the objectives of Software Testing?"

Similar presentations


Ads by Google