Professional Documents
Culture Documents
1. Overview
- In the template, Unit test cases are based on functions. Each sheet presents test cases for one function.
- Cover: General information of the project and Unit Test cases
- FunctionList: The list of Classes and Functions in the document.
+ To control that the number of Unit TC meets customer's requirement or the norm, user should fill value for
'Normal number of Test cases/KLOC'.
+ Click on Function link to open the related Test cases of the function.
Note: You should create new Function sheet before creating the link
- Test Report: provive the overview results of Functions Unit test: Test coverage, Test successful coverage
(Summary, for normal/abnormal/boundary cases)
Note: Should check the formula of "Sub Total" if you add more functions
Record of change
Effective Date Version Change Item *A,D,M Change description Reference
<Date when these <List of documents which are refered in this version.>
changes are effective>
UTCID01
UTCID02
UTCID03
UTCID04
UTCID05
UTCID06
UTCID07
Condition Precondition
n
0 O
1 O
2 O
11 O
12 O
13 O
null O
Confirm Return
1
FLASE
Exception
Log message
"success" O O O O
"not success" O O
"input1 is null" O
Result Type(N : Normal, A : Abnormal, B : Boundary) A B N N B A A
Passed/Failed
Executed Date
Defect ID
UTCID01
UTCID02
UTCID03
UTCID04
UTCID05
UTCID06
UTCID07
UTCID08
UTCID09
UTCID10
UTCID11
Condition Precondition
User
Null O
5 ký tự "abcde" O
21 ký tự "abcdeabcdeabcdeabcdea" O
Chứa ký tự đặc biệt "abcde$fg" O
6 ký tự "abcdef" O
20 ký tự "abcdeabcdeabcdeabcde" O
7 ký tự "abcdefg" O O O O
19 ký tự "abcdeabcdeabcdeabcd" O
Password
Null O
5 ký tự "12345" O
26 ký tự "12345123451234512345123456" O
6 ký tự "123456" O
25 ký tự "1234512345123451234512345" O
7 ký tự "1234567" O O O O O
24 ký tự "123451234512345123451234" O
Confirm Return
"Đăng nhập thành công" O O O O
"Đăng nhập ko thành công" O O O O O O O
Exception
Log message
"Thông báo lỗi…."
Result Type(N : Normal, A : Abnormal, B : Boundary) A A A A B B N N A A A
Passed/Failed
Executed Date
Defect ID
UTCID01
UTCID02
UTCID03
UTCID04
UTCID05
UTCID06
UTCID07
UTCID08
UTCID09
UTCID10
UTCID11
UTCID12
UTCID13
Conditio Precondition
Can connect with server
Time start
9:29 O
9:30 O
Có thể bỏ 9:31 O
15:59 O
16:00 O
16:01 O
19:29 O
19:30 O
19:31 O
23:59 O
0:00 O
0:01 O
null O
Confirm Return
Vé thường O O O O O O
Vé tiết kiệm O O O O O O
Exception
Log message
"Vé thường" O O O O O O
"Vé tiết kiệm" O O O O O O
"input1 is null"
Result Type(N : Normal, A : Abnormal, B : Boundary) N B N N B N N B N N B N A N N
Passed/Failed
Executed Date
Defect ID
UTCID01
UTCID02
UTCID03
UTCID04
UTCID05
UTCID06
UTCID07
UTCID08
UTCID09
UTCID10
UTCID11
UTCID12
UTCID13
UTCID14
UTCID15
UTCID16
Conditio Precondition
Can connect with server
Tuổi -1 O
0 O
1 O
14 O
15 O
16 O
17 O
18 O
19 O
53 O
54 O
55 O
56 O
99 O
100 O
Null O
Confirm Return
"Không thuê" O O O O O O O O
"Thuê bán thời gian" O O
"Thuê toàn thời gian" O O O O
Exception
Log message
"Input is negative" O
"input is null" O
Result Type(N : Normal, A : Abnormal, B : Boundary) A B N N B B B B N N B B N B N A
Passed/Failed
Executed Date
Defect ID
UTCID01
UTCID02
UTCID03
UTCID04
UTCID05
UTCID06
UTCID07
UTCID08
UTCID09
UTCID10
UTCID11
Conditio Precondition
Can connect with server
Thu nhập
999 O
1000 O
3000 O O O O O O O
83333 O
83334 O
Số nhà
0 O
1 O
3 O O O O O O O
5 O
6 O
Đương đơn
Person O O O O O O O O
Partnership O
Trust O
Corporation O
Loại nhà
Single family O O
Condo O O O
Townhouse O O O
Treehouse O
Duplex O
Mobile home O
Confirm Return
Xét O
Không xét O O O O O O O O O O
Exception
Log message
"success"
"input1 is null"
Result Type(N : Normal, A : Abnormal, B : Boundary) N N N N N B N N N N N
Passed/Failed
Executed Date
Defect ID
UTCID01
UTCID02
UTCID03
UTCID04
UTCID05
UTCID06
UTCID07
UTCID08
UTCID09
UTCID10
UTCID11
UTCID12
UTCID13
UTCID14
UTCID15
Conditio Precondition
Can connect with server
Input1
"1"
""
null
Input2
>=5 & <= 10
5
10
Confirm Return
1
2
Exception
Log message
"success"
"input1 is null"
Result Type(N : Normal, A : Abnormal, B : Boundary) N N N N N B A N N N N N A N N
Passed/Failed P P P P P F F P P P P P P P
Executed Date 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Defect ID 2 2 2 2 3 3 3 3 3 3 3 3 3 3 3
/ / / / / D/ D/ D/ D/ D/ D/ D/ D/ D/ D/
2 2 2 2 0 F0 F0 F0 F0 F0 F0 F0 F0 F1 F1
6 6 7 8 1 I2 I3 I4 I5 I6 I7 I8 I9 I0 I1
D D D D D D D D D D
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 1 1 1
2 4 5 6 7 8 9 0 1 2
UTCID01
UTCID02
UTCID03
UTCID04
UTCID05
UTCID06
UTCID07
UTCID08
UTCID09
UTCID10
UTCID11
UTCID12
UTCID13
UTCID14
UTCID15
Conditio Precondition
Can connect with server
Item ID
Null O
00000
50000
99999
100000
Quantity
Null
0
1 O
50
99
100
Item total
0
1
50 O
999.99
1000
Confirm Return
Ok
Not Ok
Exception
Log message
"success"
"input1 is null"
Result Type(N : Normal, A : Abnormal, B : Boundary) N N N N N B A N N N N N A N N
Passed/Failed P P P P P F F P P P P P P P
Executed Date 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Defect ID 2 2 2 2 3 3 3 3 3 3 3 3 3 3 3
/ / / / / D/ D/ D/ D/ D/ D/ D/ D/ D/ D/
2 2 2 2 0 F0 F0 F0 F0 F0 F0 F0 F0 F1 F1
6 6 7 8 1 I2 I3 I4 I5 I6 I7 I8 I9 I0 I1
D D D D D D D D D D
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 1 1 1
2 4 5 6 7 8 9 0 1 2
UTCID01
UTCID02
UTCID02
UTCID02
UTCID02
UTCID02
UTCID07
UTCID08
UTCID09
UTCID10
UTCID11
UTCID12
UTCID13
UTCID14
UTCID15
Condition Precondition
a
-2 O
-1 O
0 O O O
1 O O
b
0 O O
-2 O O O
2 O
c
0 O
1 O O O
3 O
5 O
Confirm Return
list
null O O O
size = 0 O
{-1/2} O
{1,1} O
{1,-3} O
Exception
Log message
"please input a>= -1" O
Sub total 0 0 31 14 11 8 31
B
800%
Passed N N A
1400%
Failed
B
Untested
A
Untested 1100%
100%