Software testing basic

23
Software testing basic

description

Software testing basic. Main contents. Why is testing necessary? What is testing? Test Design techniques Test level Test type How to write test case Bug tracker Some test management tools. Why is Testing necessary?. Different (Error-Defect-Failure) Bug life cycle Role of Testing. - PowerPoint PPT Presentation

Transcript of Software testing basic

Page 1: Software testing basic

Software testing basic

Page 2: Software testing basic

Main contents

Why is testing necessary? What is testing? Test Design techniques Test level Test type How to write test case Bug tracker Some test management tools

Page 3: Software testing basic

Why is Testing necessary?

Different (Error-Defect-Failure) Bug life cycle Role of Testing

Page 4: Software testing basic

Why is Testing necessary?

Different (Error-Defect-Failure)• Error (mistake): human action that produces an incorrect

result + Mistake in analyzing+ Mistake in programing…• Defect (bug, fault): error is found by tester• Fail (Failure): when the implementation of the defects are

executed, failure occur in the system.

Page 5: Software testing basic

Why is Testing necessary?

Bug life cycle

Page 6: Software testing basic

Why is Testing necessary?

Role of Testing Identify defects Measure the software quality by:+ The number of defects found+ The number of test case run+ Passing test reduce failure or risk in system+ Failing test provide information to improve the quality of system

Page 7: Software testing basic

What is Testing?

Testing-Quality Assurance-Quality Control Different (Testing-Debugging) Different (Build version and Release version) Independent testing

Page 8: Software testing basic

What is Testing?

Testing-Quality Assurance (QA)-Quality Control(QC) QA: focus on process (define and improve the process) QC: focus on quality of product (finding defects) Testing is the activity of QC, includes activities:+ Verification: ensures that the product is built according to the requirements and design specification+ Validation: ensures that the product meets the user’s needs (customer’s needs)

Page 9: Software testing basic

What is Testing?

Different (Testing-Debugging) Testing:+ Find defects+ Retest bugs+ Tester tests Debugging:+ Identify the cause of bugs+ Repair code+ Programmer debugs

Page 10: Software testing basic

What is Testing?

Different (Build version and Release version) Build version: is a version of a software that is still in testing Release version: is a build version that is sent to the

customer (no longer in testing).

Page 11: Software testing basic

What is Testing?

Independent testing• Test is designed by a person wrote software• Test is designed by other people from development team• Test is designed by test team• Test is designed by different organization

Page 12: Software testing basic

Test Design Techniques

Static testing techniques Dynamic testing techniques

Page 13: Software testing basic

Test Design Techniques

Static testing techniques

Page 14: Software testing basic

Test Design Techniques

Dynamic testing techniques

Page 15: Software testing basic

Test LevelsWhat usersreally need

Requirements

Design

Code

Acceptance testing

System testing

Integration testing

Unit testing

Page 16: Software testing basic

Test Levels

Component/Unit testing Integration testing System testing Acceptance testing- Alpha testing: performed by customers at the developing

organization’s location- Beta testing: performed by customers at their own location

Page 17: Software testing basic

Test Types

Functional testing Non-Functional testing Maintenance testing

Page 18: Software testing basic

Test Types

Functional testing Requirement based testing Business process based testing

Page 19: Software testing basic

Test Types

Non-Functional testing Reliability Usability Efficiency Maintainability Portability Different (Performance testing, Load testing, Stress testing)- Performance (Time)- Load (User)- Stress (Hardware resource-CPU, RAM)

Page 20: Software testing basic

Test Types

Maintenance testing Re-testing and Regression testing

Page 21: Software testing basic

Test case

Page 22: Software testing basic

Test case

Tested date Closed date Closed version Tested version….

Page 23: Software testing basic

Bug tracker