Software Testing - PowerPoint PPT Presentation

1 / 54
About This Presentation
Title:

Software Testing

Description:

Testing is the process of executing a program with the ... Software Testing. Methods. Strategies. white-box. methods. black-box. methods. Test Case Design ' ... – PowerPoint PPT presentation

Number of Views:211
Avg rating:3.0/5.0
Slides: 55
Provided by: VL75
Category:
Tags: software | testing

less

Transcript and Presenter's Notes

Title: Software Testing


1
????? 13
?????????????????
( Software Testing )
2
?????????????????
( Software Testing )
Testing is the process of executing a
program with the intent of finding errors
Glen Myers
3
Software Testing
4
Test Case Design
5
White-Box Testing
  • ???? Structured Testing
  • ?????????????????????
  • ????????????? Statement ??? Execute
  • ????????? 1 ?????

6
White-Box Testing
7
Basis Path Testing
  • ???? idea ?????????????? White-box
  • ???????????
  • ??????? Flowchart ??????? Graph
  • ????????????? Vertices ??? Edge

8
11
9
1
2, 3
4, 5
6
7
8
9
10
11
10
Independent Path ?? 4 Path
Path 1 1 ,11 Path 2 1 ,2 ,3 ,4 ,5 ,10
,1 ,11 Path 3 1 ,2 ,3 ,6 ,8 ,9 ,10 ,1
,11 Path 4 1 ,2 ,3 ,6 ,7 ,9 ,10 ,1 ,11
11
Cychomatic Complexity V(G)
????????????????? Basis Path
V(G) E - V 2
V Vertices E Edge
?????
12
Black-Box Testing
  • ???? Functional Testing
  • ?? Input ?????????????? Output ??????????????

13
Black-Box Testing
Input
Output
14
Equivalence Partitioning
  • ???? idea ?????????????? Black-box
  • ???????????
  • ??????????????????? Input , Output
  • Test ??????????

15
Testing Strategy
integration test
unit test
validation test
system test
16
Unit Testing
  • Test ???? Component

Function
Procedure
  • ????? Response ????????????????

17
Unit Testing
module to be tested
results
test cases
software engineer
18
Unit Testing
module to be tested

interface
local data structures
boundary conditions
independent paths
error handling paths
test cases
19
Integration Test
  • Module Testing
  • _at_ Test ???? Module
  • _at_ ?????????? Module?????
  • Sub-System Testing
  • _at_ Test Module ????????????????
  • _at_ ???????? Interface ??????? Module


20
Integrate Testing
  • Top-down Testing
  • Bottom-up Testing
  • Thread Testing
  • Stress Testing
  • Incremental Testing

21
Top-down Testing
  • Test ???????????

Sub-system Module
Unit
22
Top Down Integration
23
???????? Top-down Testing
  • ??? errors ????
  • ?? Cost
  • ?????????? Redesign
  • ??????????????
  • ???????? User ?????????
  • ???????????????????

24
?????????? Top-down Testing
  • Test ???
  • ????????????? Level ?????

( Unit , Module )
25
Bottom- Up Integration
A
B
F
G
drivers are replaced one at a
time, "depth first"
C
worker modules are grouped into
D
E
builds and integrated
cluster
26
Bottom-up Testing
  • Test ??? ???????????????
  • ???????? ?????????? Top-down

27
Thread Testing
  • Test ???? Process ?? level ????????
  • ?????? Top-down ??? Bottom-up
  • ???????????

28
Stress Testing
  • ???????????????? Fail ???????
  • ??????????????????
  • Soft Fail
  • Hard Fail

29
Incremental Testing
  • ???????????? Module ??? Test ?????????
  • ??????

30
System Testing
  • Test ????????
  • ( ??? Sub-system ???????????????? )

31
Validation or Acceptance Testing
  • Test ??? Data ????? ?????????
  • ?????? System Requirement Definition ???????

32
???????
System

Sub-
??????????
?????????
System
??????????

Module
???????????
???? ? ???????
?????,
???
Unit
???
????
????
????????
???????
???????
33
Test Planning
  • ???????????????????????????????? ?????
    ?????
  • ???????? Errors
  • Minimum Cost

34
Test Plan ??????????
  • Testing Process
  • Requirement Traceability
  • Tested Items
  • Testing Schedule
  • Test Recording Procedure
  • H/W and S/W Require
  • Constraints

35
Test Phase
Earlier Phase Program Defect
Laster Phase VV
36
Verification Validation
VV
??????????? VV
  • ????????????????????????
  • ????????????/????????? ?????????????????????
  • ????????????

37
??? Testing ??? VV ??????? 2 ??????
  • Statistical Testing
  • Defect Testing

38
Statistical Testing
  • ????????? Testing ???????????????????????????
    Actual inputs/outputs ????????????????????????????
    ???????????????????????????

39
Defect Testing
  • ??????????????????/???????????
  • (Errors) ??????

40
Test Data Test Case
  • Test Data
  • ??????? Test Data ??????????? Drive Program
  • Test Case
  • ?????? Test input output function spec.
  • ???????????

41
Alpha Beta Testing
Alpha Test
Software
Customer test
Developer Site
Customer Site
42
Alpha Beta Testing
Beta Test
Customer test
Developer reviews
Software
Developer Site
Customer Site
43
Who Test Software ?
  • Developer
  • Independent tester
  • Customer

44
????? 14
??????????????????? ????????????????
( Documentation and Maintenace )
45
Documentation
??????????????? ??????????????????????????????????
?????????????????????? , ??????????
????????????????
46
Documentation
??????????
System Documentation
User Documentation
47
System Documentation
??????????
Requirement Specification
System Achitecture
Description Of the Design
Program Achitecture
Source Code
Test Plans And Reports
48
User Documentation
??????????
?????????????????????? ???????????????????????
? ???????????????????? ????????????????????
???????????????????
49
?????????????????????? ( Functional
description)
  • ????????????????????????????
  • ?????????????????????????

50
???????????????????????? ( Introductory Manual
)
  • ????????????????????????
  • ????????????????????
  • ??????????????????????????

51
???????????????????? ( Reference Manual )
  • ???????????????????????????????
  • ?????????????????????

52
???????????????????? ( Installation Document )
  • ????????????????????????????????
  • ???????????????????????????????????

53
??????????????????? ( System Administrator
Guide )
  • ?????????????????????
  • ????????????????????????????

54
Maintenance
?????????????????????????????????????????????????
???????????? ?????????? ?????????????????????????
???????????????????????????????????????
Write a Comment
User Comments (0)
About PowerShow.com