Software testing by kd

22
SOFTWARE TESTING PRESENTED BY KEDAR R. HIRE 097030 8/17/2011 Software Testing 1 GUIDED BY Prof.O.R.Var ma

Transcript of Software testing by kd

Page 1: Software testing by kd

SOFTWARE TESTING

PRESENTED BY

KEDAR R. HIRE097030

8/17/2011Software Testing 1

GUIDED BY

Prof.O.R.Varma

Page 2: Software testing by kd

CONTENTS1. What is Testing?

2. Why Software Testing?

3. Verification & Validation

4. Types of Testing

5. Techniques of Testing

6. Conclusion

8/17/2011Software Testing 2

Page 3: Software testing by kd

WHAT IS TESTING? Executing software in a real environment, using

selected inputs

Software testing is an investigation conducted to provide stakeholders with information about the quality of the product

8/17/2011Software Testing 3

Page 4: Software testing by kd

WHY SOFTWARE TESTING?

To produce quality of product To reduce the failure cost and maintenance cost To correct the defects To ensure that product work as user expected it to

8/17/2011Software Testing 4

Page 5: Software testing by kd

VERIFICATION & VALIDATION Verification - means ensuring that the software

has been built correctly

Validation - means ensuring that the software meets the requirements

8/17/2011Software Testing 5

Page 6: Software testing by kd

TYPES OF TESTING

A. Manual Testing

B. Automated Testing

8/17/2011Software Testing 6

Page 7: Software testing by kd

STAGES OF MANUAL TESTING

Unit Testing Integration Testing System Testing

8/17/2011Software Testing 7

Page 8: Software testing by kd

UNIT TESTING Requires knowledge of the internal program

design and code

Done by Programmers

8/17/2011Software Testing 8

Page 9: Software testing by kd

INTEGRATION TESTING Most of the time black box testing technique is

used. However, sometimes a combination of Black and White box testing is also used in this stage

Done by programmers or testers

8/17/2011Software Testing 9

Page 10: Software testing by kd

SYSTEM TESTING In this stage the software is tested from all possible

dimensions for all intended purposes and platforms. In this stage Black box testing technique is normally used

8/17/2011Software Testing 10

Page 11: Software testing by kd

AUTOMATED TESTING Test automation is the use of software to control

the execution of tests, the comparison of actual outcomes to predicted outcomes, the setting up of test preconditions, and other test control and test reporting functions

8/17/2011Software Testing 11

Page 12: Software testing by kd

AUTOMATED TESTING TOOLS 1. Winrunner

2. HP QuickTest Professional

3. IBM Rational Functional Tester

4. Visual Studio Test Professional

8/17/2011Software Testing 12

Page 13: Software testing by kd

TECHNIQUES OF TESTING White Box Testing Black Box Testing Alpha Testing Beta Testing

8/17/2011Software Testing 13

Page 14: Software testing by kd

WHITE BOX TESTING White-box testing is a method of testing software

that tests internal structures or workings of an application, as opposed to its functionality

8/17/2011Software Testing 14

Page 15: Software testing by kd

WHITE BOX TESTING

Componentcode

Testoutputs

Test data

DerivesTests

8/17/2011Software Testing 15

Page 16: Software testing by kd

BLACK BOX TESTING

Black-box testing is a method of software testing that tests the functionality of an application as opposed to its internal structures or workings

8/17/2011Software Testing 16

Page 17: Software testing by kd

BLACK-BOX TESTING

Ie

Input test data

OeOutput test results

System

Inputs causinganomalousbehaviour

Outputs which revealthe presence ofdefects

8/17/2011Software Testing 17

Page 18: Software testing by kd

ALPHA TESTINGTesting done when development is nearing

minor design changes may still be made as a result of such testing

8/17/2011Software Testing 18

Page 19: Software testing by kd

BETA TESTING Testing when development and testing are

essentially completed and final bugs and problems need to be found before release

8/17/2011Software Testing 19

Page 20: Software testing by kd

CONCLUSION Testing is more than just debugging Testing is not only used to locate defects and

correct them. It is also used in validation, verification process, and reliability measurement

8/17/2011Software Testing 20

Page 21: Software testing by kd

8/17/2011Software Testing 21

Page 22: Software testing by kd

Software Testing 228/17/2011