0% found this document useful (0 votes)
11 views27 pages

Unit Test Case List: No Package/Class Name Function Name Sheet Name in Charge

Uploaded by

hieuoka123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views27 pages

Unit Test Case List: No Package/Class Name Function Name Sheet Name in Charge

Uploaded by

hieuoka123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 27

UNIT TEST CASE LIST

No Package/Class Name Function Name Sheet Name In Charge


1 package1.MemberClass1 GetFactorial GetFactorial Huytdqhe173448
2 package2.MemberClass2 demoUT demoUT daipvhe161222
3 team_work.MemberClass3demoMethod3 demoMethod3 HieuNTHE171606
4 team_work.MemberClass6checkInputs MemberClass6AnhDTHE172647
5 team_work.MemberClass4demoMethod4 demoMethod4 DatPTHE171311
Notes
Code Module package1.MemberClass1 Function Name
Created By Huytdqhe173448 Lines of code
Test requirement Test with all values of integer 'a'

UTCID01 UTCID02
Condition Precondition
Can connect with server

Input
a=1 O
a = -1 O
a=5
a=0
Confirm Return
1 O
FALSE O

Output
1 O

120

Exception
"Input value can't be zero or negative!" O

Log message
"Calcuated factorial!" O

"Invalid input value!" O


getFactorial
13

UTCID03 UTCID04

O
O

O
O

O
Code Module team_work.MemberClass2 Function Name
Created By daipvhe161222 Lines of code
Test requirement <Brief description about requirements which are tested in this function>

a< -10 || a ==0


Condition Precondition

Input 1
a=2
b=5
Input 2 a =0
0
b= 5
Input 3 a=15
b=10
Input 4 a=-10
b=-9

Confirm Return
Output 1 TRUE
Output 2 FALSE
Output 3 FALSE
Output 4 TRUE
Exception

Log message
Input 1 b =5 5!/2=60
Input 2 a =15
Input 3 ba=-10
invalid b value!
Input 4 b=-9 -10!/-9=403200
me

d in this function>

b <= -10 || b >= 10 a < 0||b < 0 a>=-10||a!=0&&b<=9 UTCID05 UTCID06

0
demoMethod2
30

UTCID07 UTCID08 UTCID09 UTCID10 UTCID11 UTCID12 UTCID13


UTCID14 UTCID15
Code Module team_work.MemberClass3 Function Name
Created By Hieu Lines of code
Test requirement Test with all values of integer 'a' and 'b'

a<=0 && b < 0


Condition Precondition
Can connect with server

Input 1
a=5
b=6
a =-1 0
b= -2 0

Confirm Return
TRUE
TRUE
TRUE
TRUE
Output 3
0 0
0
4
Exception

Log message b is positive


Input 1 c=3
b is negative!
Input 2 c=0
b is positive 0
Input 3 c=0
b is negative!
Input 4 c=4
me

a<=0 b&&b>0 a>0&&b<0 a>0&&b>0 UTCID05 UTCID06

0 0
0
0

0
0

0
0
demoMethod3
28

UTCID07 UTCID08 UTCID09 UTCID10 UTCID11 UTCID12 UTCID13


UTCID14 UTCID15
Code Module team_work.MemberClass4 Function Name
Created By Pham Tan Dat Lines of code
Test requirement <Brief description about requirements which are tested in this function>

UTCID01 UTCID02
Condition Precondition
Can connect with server

Input a
a=-1 0
a=0 0
a=5
a=22
Input b
b=0 0 0
b=5

Confirm Return
1 0 0
FALSE
Output 1
c=0%-1 0
Output 2
0 0
Output 3
c=5%5
Output 4
c=0%22
Exception

Log message
Log message output1
0%-1 0
Log message output2
0 0
Log message output3
5%5
Log message output4
"No values", 0,22,0%22
demoMethod4
300
is function>

UTCID03 UTCID04 UTCID05 UTCID06 UTCID07 UTCID08

0
0

0
0

0 0

0
0
UTCID09 UTCID10 UTCID11 UTCID12 UTCID13 UTCID14 UTCID15
Code Module team_work.MemberClass6 Function Name
Created By Do Tuan Anh Lines of code
Test requirement <Brief description about requirements which are tested in this function>

UTCID01 UTCID02
Condition Precondition

Input a a=5 O
a=0 O
a=-11
Input b
b=2 O O
b=10
b=-11
b=11

Confirm Return
TRUE O
0 O

Output FALSE
TRUE
TRUE
TRUE
TRUE
TRUE

Exception

Log message

None O

Invalid a! (a=__) O

Invalid b! (b=__)
Function B
300
in this function>

UTCID03 UTCID04 UTCID05 UTCID06 UTCID07 UTCID08

O O O

O
O
O
O

O O O O

O O O
UTCID09 UTCID10 UTCID11 UTCID12 UTCID13 UTCID14 UTCID15

You might also like