DRE E ED DRE Defect Removal Efficiency E

  • Slides: 41
Download presentation
소프트웨어 품질과 테스트 소프트웨어 DRE = E E+D DRE: Defect Removal Efficiency E: total

소프트웨어 품질과 테스트 소프트웨어 DRE = E E+D DRE: Defect Removal Efficiency E: total error before delivery D: total error after delivery 99. 9 s/w eng_y. e. han 1

전체 테스트 - exhaustive test Loop < 20 x 99. 9 s/w eng_y. e.

전체 테스트 - exhaustive test Loop < 20 x 99. 9 s/w eng_y. e. han 5

선택적 테스트 - selective test Loop < 20 x 99. 9 s/w eng_y. e.

선택적 테스트 - selective test Loop < 20 x 99. 9 s/w eng_y. e. han 6

테스트 원칙 - 6 Test와 debugging은 동일한 작업이 아니다 test Result symptoms Suspected cause

테스트 원칙 - 6 Test와 debugging은 동일한 작업이 아니다 test Result symptoms Suspected cause New test data 99. 9 Debugging s/w eng_y. e. han 12

소프트웨어 테스팅 White-box method Black-box method 방법론 method 전략 strategies 99. 9 s/w eng_y.

소프트웨어 테스팅 White-box method Black-box method 방법론 method 전략 strategies 99. 9 s/w eng_y. e. han 13

기초 경로 테스트: basis path test- 1 1 우선: cyclomatic complexity를 계산한다 ; V(G)

기초 경로 테스트: basis path test- 1 1 우선: cyclomatic complexity를 계산한다 ; V(G) 2 4 - V(G) = simple decision no. + 1 3 5 6 - V(G) = enclosed area no. + 1 - V(G) = 3 + 1 = 4 7 99. 9 s/w eng_y. e. han 17

Loop test Simple loop 99. 9 Nested loop Concatenated loop s/w eng_y. e. han

Loop test Simple loop 99. 9 Nested loop Concatenated loop s/w eng_y. e. han Unstructed loop 20

테스트 전략 Unit test 단위 테스트 시스템 테스트 통합 테스트 System test Integration test

테스트 전략 Unit test 단위 테스트 시스템 테스트 통합 테스트 System test Integration test 확인 테스트 Validation test 99. 9 s/w eng_y. e. han 25

단위 테스트: unit test 테스트 케이스 테스트될 모듈 테스트 결과 - 인터페이스: interface -

단위 테스트: unit test 테스트 케이스 테스트될 모듈 테스트 결과 - 인터페이스: interface - 자료구조: local data structure - 경계조건: boundary condition - 독립경로: independent paths - 오류 취급 경로: error handling paths 99. 9 s/w eng_y. e. han 27

시스템 테스트: system test External input or “live” data base 외부 입력 Target operating

시스템 테스트: system test External input or “live” data base 외부 입력 Target operating system 목표 OS 응용 SW Application software 목표 HW Target hardware 99. 9 s/w eng_y. e. han 36

debugging “ diagnostic process “ “ 진단과정 “ 99. 9 s/w eng_y. e. han

debugging “ diagnostic process “ “ 진단과정 “ 99. 9 s/w eng_y. e. han 38