JUnit & Eclipsedslab.konkuk.ac.kr/Class/2012/12SV/Team Porject/4/1st... · 2012-09-13 · Introduce...
Transcript of JUnit & Eclipsedslab.konkuk.ac.kr/Class/2012/12SV/Team Porject/4/1st... · 2012-09-13 · Introduce...
1st Testing
TEAM 1 200711437 성하진
200511355 정용구
200911436 조성완
201260053 Abbos Shomurodov 201260058 채숭흠
Contents
1. Test Environment
2. 1st Testing _Team1
3. 1st Testing _Team4
Testing Environment
1. Testing Environment for CTIP 2. Introduce Allpairs
Testing Environment(CTIP)
[OS] Windows7
[Language] Java [Unit Test Tool] JUnit
[Build Automation] Ant
[SCM Tool] Visual SVN(Subversion)
[CI Tool] Hudson-2.2.0
<WAS : Tomcat 7.0> [RE Tool] JFeature
Testing Environment(CTIP) cont.
RE Tool 변경[OSRMT -> JFeature]
이전에, 사용이 편리하고 언어 독립적이라는 장점을
들어 Requirements를 OSRMT로 관리하고자 하였으나
Jfeature가 현재의 소규모 테스팅 환경에 적합하다고
판단하여 사용 Tool을 변경
Testing Environment(CTIP) cont.
CTIP Environment
Pairwise
• Pairwise란? 어떤 Testing은 다양한 값들을 가질 수 있는 많은 변수
들을 가지고 있어, 그 변수와 값들로 다양한 Combination을 생성하고 Testing하는 것을 요구함
• Pairwise Tools Test 대상 Combination의 수가 늘어나면 테스터가 일
일이 구할 수가 없으므로 자동화된 Tool이 등장
Pairwise(cont.)
• Combination은 모든 value의 쌍(pair)이 서로 결합되는 방식으로 생성 – 완벽한 Test case는 아님
• www.pairwise.org에서 여러 종류의 Tool 다운로드 가능
사용 Pairwise Tool - Allpairs
Pairwise -Allpairs
Allpairs 다운로드
Pairwise -Allpairs
Allpairs 다운로드
Pairwise -Allpairs
Allpairs 설치 및 사용
압축 해제
조합을 구하려는 항목을 *.txt파일에 입력
Pairwise -Allpairs
Tab으로 Column 구분하지 않았을 경우
Allpairs txt파일 작성 주의사항
각 Category는 Tab으로 구분 Value는 Enter로 구분
Pairwise -Allpairs
Allpairs 사용
Pairwise -Allpairs(example)
Result.txt 내용
1st Testing _Team1
1. Program Introduction 2. System Testing 3. Test case example
Team 1 Introduction
Exit mode 창 Enter mode 창
Admin mode 창 - 각종 Method 사용
로그인
시작 화면
Team 1 Introduction
Exit차량 입력 Enter차량 입력
상태 화면에 입/출 차량 즉시 반영
시작 화면
Team 1 System Testing
Lot.59(3층 19번) 차량 부재시
Problem.1 Sort data
Team 1 System Testing(cont.)
Lot.59(3층 19번) 차량 입장시
Team 1 System Testing(cont.)
명세서상의 차량 입장시 경로 출력화면
Problem.2 Enter Path
실제 실행 시의 차량 입장화면
Team 1 System Testing(cont.)
Team 1 System Testing(cont.)
명세서상의 Exit mode 창 Exit Car 입력 후 화면
Problem.3 Print Receipt
Team 1 System Testing(cont.)
실제 실행시 UserExit창 Exit Car 입력 후 화면
Team 1 System Testing(cont.)
Problem.4 Parking Lot 공사중
Team 1 System Testing(cont.)
Change Location 화면
Problem.5 Change Location
Team 1 System Testing(cont.)
Floor 이동 후 복귀시 Display 반영되지 않음
(Program 재실행 후 반영)
Team 1 Test Case Example
Test Code 작성중
Test Code
Progressing
Re-building for CTIP Environment..
Team 1 Result Report
1st Testing _Team4
1. Program Introduction 2. System Testing
Team 4 Introduction
시작 화면
각 계정마다 따로 data를 기록하여 개인 물품의 위치 등을 조회하는 System
Team 4 System Testing
Problem – 계정 생성 불가
Team 4 System Testing(cont.)
Problem – E-mail 인식 불가
To be continued on 2nd Testing..