Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 102

UNIT TEST CASE

Project Name Eshopper Creator


Project Code Es Reviewer/Approver
Issue Date
Document Code Es_XXX_v1.0
Version

Record of change
Effective Date Version Change Item *A,D,M Change description
30/Oct/2023 1.0 Function Test List, Cover A Create Function List

31/Oct/2023 1.0 Function Test Details A Create Function Details

1/Nov/2023 1.0 Test Report M Merge all Function Tests

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 1/


NIT TEST CASE

Vu Hoang Long
Bui Minh Hoai
30/10/2023
Es_01

Reference

Get all products ,Insert Product,Update Product,Delete Product,


Get Product By ID,Get Product By Key Words,Sort Products,
Filter By Price,Filter By Brand,Insert Bills,Update Status Bill,
Show Bill In Details,View Bill Details Admin,Show Bill In Details By Filter,
Get All Brands,Get All Brands By Id,Get All User,Get One User, Get All Customer,
Get User By ID,Get Customer By Name,Insert User,Ban User,Insert Order Details,
Insert Order, Get Order Detail By ID,Bill Equals, Can Equals, GetBill ID, Get CreatedDate,
Get Status Bill, Order Detail Model, Bill Bulider, Get Order Bill, Set Bill Id, Set CreatedDate Bill,
Set Status Bill, Set Order Bill

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 2/


UNIT TEST CASE LIST

Project Name Eshopper


Project Code Es
Normal number of Test cases/KLOC 100
Test Environment Setup Description 1. Server: Tomcat

Requirement
No Class Name Function Name Function Code(Optional)
Name

1 Get all products ProductDAO Get all products FC-01

2 Insert Product ProductDAO Insert Product FC-02

3 Update Product ProductDAO Update Product FC-03

4 Delete Product ProductDAO Delete Product FC-04

5 Get Product By ID ProductDAO Get Product By ID FC-05

6 Get Product By Key Words ProductDAO Get Product By Key Words FC-06

7 Sort Products ProductDAO Sort Products FC-07

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 3/


8 Filter By Price ProductDAO Filter By Price FC-08

9 Filter By Brand ProductDAO Filter By Brand FC-09

10 Insert Bill BillDAO Insert Bills FC-10

11 Update Status Bill BillDAO Update Status Bill FC-11

12 Show Bill Detail BillDAO Show Bill In Details FC-12

13 Show Bill Details Admin BillDAO Show Bill Details Admin FC-13

14 Show Bill Detail By Filter BillDAO Show Bill In Details By Filter FC-14

15 Get All Brands BrandDAO Get All Brands FC-15

16 Get All Brands BY ID BrandDAO Get All Brands By Id FC-16

17 Get All User UserDAO Get All User FC-17

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 4/


18 Get One User UserDAO Get One User FC-18

19 Get All Customer UserDAO Get All Customer FC-19

20 Get User By ID UserDAO Get User By ID FC-20

21 Get Customer By Name UserDAO Get Customer By Name FC-21

22 Insert User UserDAO Insert User FC-22

23 Ban User UserDAO Ban User FC-23

24 Insert Order Details OrderDetailDAO Insert Order Details FC-24

25 Insert Order OrderDAO Insert Order FC-25

26 Get Order Detail By ID OrderDAO Get Order Detail By ID FC-26

27 Bill Equals Bill Bill Equals FC-27

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 5/


28 Can Equals Bill Can Equals FC-28

29 GetBill ID Bill GetBill ID FC-29

30 Get CreatedDate Bill Get CreatedDate FC-30

31 Get Status Bill Bill Get Status Bill FC-31

32 Order Detail Model OrderDetail Order Detail Model FC-32

33 Bill Bulider Bill Bill Bulider FC-33

34 Get Order Bill Bill Get Order Bill FC-34

35 Set Bill Id Bill Set Bill Id FC-35

36 Set CreatedDate Bill Bill Set CreatedDate Bill FC-36

37 Set Status Bill Bill Set Status Bill FC-37

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 6/


38 Set Order Bill Bill Set Order Bill FC-38

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 7/


Sheet Name Description Pre-Condition

Can connect with server


Get all products Allow user get all products Access to home page
Access to dashboard
Connected to database
Insert Product Allow user insert product
Administrator Access

Connected to database
Update Product Allow user update product
Administrator Access

Connected to database
Delete Product Allow user delete product
Administrator Access

Get Product By ID Allow user get product by ID Connected to database

Connected to database
Get Product By Key Words
Allow user get product by key word
Access to home page

Connected to database
Sort Products Allow user sort products
Access to home page

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 8/


Connected to database
Filter By Price Allow user filter products by price
Access to home page

Connected to database
Filter By Brand Allow user filter products by brand
Access to home page

Connected to database
Insert Bills Allow user insert bill
Administrator Access
Connected to database
Update Status Bill Allow user update status bill Administrator Access
Bill Status suites
Connected to database
Show Bill Detail Allow user show bill detail
Administrator Access

Connected to database
Show Bill Details for Admin
Allow admin view bill detail
Administrator Access

Connected to database
ShowBill Details by FilterAllow user show bill detail by filter
Administrator Access

Connected to database
Get All Brands Allow user get all brands
Administrator Access
Connected to database
Get All Brands By ID Allow user get all brands by ID Administrator Access
brand Defined
Connected to database
Get All Users Allow user get all users
Administrator Access

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 9/


Connected to database
Get One User Allow user get one user
Administrator Access

Connected to database
Get All Customer Allow user get all customer
Administrator Access

Connected to database
Get User By ID Allow user get user by ID
Administrator Access

Connected to database
Get Customer By Name Allow user get customer by name
Administrator Access

Connected to database
Insert user Allow admin insert user
Administrator Access

Connected to database
Ban User Allow admin ban user
Administrator Access

Connected to database
Insert Order Detail Allow user insert order details
Administrator Access

Connected to database
Insert Order Allow user insert order
Administrator Access

Connected to database
Get Order Detail By ID Allow user get order detail by ID
Administrator Access

Connected to database
Bill Equals Check bill have a right comparison
Administrator Access

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 10/


Connected to database
Can Equals Allow user get right Bill
Administrator Access

Connected to database
GetBill ID Check Bill get right Bill ID
Administrator Access

Connected to database
Get CreatedDate Check Bill get right CreatedDate
Administrator Access

Connected to database
Get Status Bill Check Bill get right Status of Bill
Administrator Access

Connected to database
Order Detail Model Check Bill get right Order Detail
Administrator Access

Connected to database
Bill Builder Check Builder of Bill Model
Administrator Access

Connected to database
Get Order Bill Get Order Bill
Administrator Access

Connected to database
Set Bill Id Check Bill model can set Bill ID
Administrator Access

Connected to database
Set CreatedDate Bill Check Bill model can set Created Bil
Administrator Access

Connected to database
Set Status Bill Check Bill model can set Status of Bi
Administrator Access

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 11/


Connected to database
Set Order Bill Check Bill model can set Order of Bil
Administrator Access

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 12/


UNIT TEST REPORT

Project Name Eshopper Creator Vu Hoang Long


Project Code Es Reviewer/Approv SWT301G2
Document CodEs_Test Report_vx.x Issue Date 11/1/2023
Notes

No Function code Passed Failed Untested N A B Total Test Cases


1 Get all products 3 2 0 4 0 1 5
2 Insert Product 4 1 0 3 2 0 5
3 Update Product 4 1 0 3 2 0 5
4 Delete Product 1 2 0 1 2 0 3
5 Get Product By ID 1 2 0 1 2 0 3
6 Get Product By Key Words 6 0 0 6 0 0 6
7 Sort Products 6 0 0 6 0 0 6
8 Filter By Price 4 0 0 4 0 0 4
9 Filter By Brand 4 0 0 0 4 0 4
10 Insert Bills 4 0 0 0 4 0 4
11 Update Status Bill 3 1 0 0 4 0 4
12 Show Bill Detail 5 0 0 0 4 1 5
13 Show Bill Details for Admin 8 0 0 0 8 0 8
14 ShowBill Details by Filter 4 0 0 2 1 1 4
15 Get All Brands 4 0 0 3 0 1 4
16 Get All Brands By ID 0 3 0 0 3 0 3
17 Get All Users 3 0 0 0 3 0 3
18 Get One User 5 0 0 1 4 0 5
19 Get All Customer 3 0 0 2 0 1 3
20 Get User By ID 4 0 0 4 0 0 4
21 Get Customer By Name 4 0 0 4 0 0 4
22 Insert user 4 2 0 3 3 0 6
23 Ban User 4 0 0 2 2 0 4
24 Insert Order Detail 4 1 0 4 1 0 5
25 Insert Order 8 0 0 7 1 0 8
26 Get Order Detail By ID 5 0 0 0 5 0 5

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 13/


27 Bill Equals 2 0 0 2 0 0 2
28 Can Equals 3 0 0 2 1 0 3
29 GetBill ID 4 0 0 2 2 0 4
30 Get CreatedDate 4 1 0 3 1 1 5
31 Get Status Bill 3 0 0 3 0 0 3
32 Order Detail Model 5 0 0 0 0 0 5
33 Bill Builder 2 0 0 0 0 2 2
34 Get Order Bill 2 0 0 2 0 0 2
35 Set Bill Id 4 0 0 0 0 0 4
36 Set CreatedDate Bill 4 1 0 3 1 1 5
37 Set Status Bill 3 0 0 3 0 0 3
38 Set Order Bill 2 0 0 0 0 0 2
39
40
Sub total 143 17 0 80 60 9 160

Test coverage 100.00 %


Test successful coverage 89.38 %
Normal case 50.00 %
Abnormal case 37.50 %
Boundary case 5.63 %

Passed Percent Test Type

6%
11%
N
Passed A
B
Failed
Untested 40% 54%

89%

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 14/


Function Code
Created
Lines ofBy
code (đếm trong
controller)
Test requirement
Passed
3

Condition Precondition

Get all products

id

quantity

brand_id

name

description
The Dell laptop is a sleek and powerful device, featuring cutting-edge technology and a user-friendly interface for optimal productiv
image_url

price

release_date

Confirm Return

Exception

Log message

Result Type(N : Normal, A : Abnormal, B : Boundary)


Passed/Failed
Executed Date

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 15/


Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 16/


FC-01 Function Name
Vu Hoang Long Executed By
50 Lack of test cases

Failed Unteste
2 0

UTCID01
Can connect with server O
Access to home page O
Access to dashboard O

76 O
68
1
13

73
48
1
2
MacBook Air 13 inch M1 2020 8CPU 7GPU 8GB/256GB
Laptop Dell Vostro 16 V5620 i5 1240P/16GB/512GB/16"FHD+

pple''s stylish, high-performance laptop, delivering a seamless user experience and exceptional power in a compact design
The Dell laptop is a sleek and powerful device, featuring cutting-edge technology and a user-friendly interface for optimal productivity
img/macbook-1.png
img/dell-vostro-1.png
784.6
992.6
2020-07-06
2022-11-21

T O
F

"successfully" O
"fail"
(N : Normal, A : Abnormal, B : Boundary) N
ed/Failed P
uted Date 1
0
/
2
9

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 17/


ct ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 18/


Function Name Get all products
Executed By Vu Hoang Long
Lack of test cases 0

Untested N/A/B Total Test Cases


0 4 0 1 5
UTCID02

UTCID03

UTCID04

UTCID05

O O O O
O O O O
O O O O

O
O O
O
O
O O
O O
O
O O
O
O O
O
O O
O
O O
O
O O
O

O O O
O

O O
O O
B N N N
F P P F
1 1 1 1
0 0 0 0
/ / / /
2 2 2 2
9 9 9 9

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 19/


D
F
I
D
0
0
1

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 20/


Function Code FC-02 Function Name
Created By Vu Hoang Long Executed By
Lines of code 65 Lack of test cases
Test requirement
Passed Failed Untested
4 1 0

UTCID01

UTCID02

UTCID05
UTCID03

UTCID04
Condition Precondition
Connected to database O O O O O
Administrator Access O O O O O

Name Macbook pro 2020 O O O


null O O
Price 1000.5 O O O
-15 O O
Quantity 20 O O O

Description Macbook is number one O O O O O

Image_url img/macbook-2020.png O O O O O

Brand_id 1 O O O

Release_id 2020-10-10 O O O O

10-10-2020 O

Confirm Return
T O O
F O O O
Exception

Log message
"INSERT A NEW PRODUCT SUCESSFUL" O O O O
"Http 500" O
Result Type(N : Normal, A : Abnormal, B : Boundary) N A A N N
Passed/Failed P P F P P
Executed Date 1 1 1 1 1
0 0 0 0 0
/ / / / /
2 2 2 2 2
9 9 9 9 9

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 21/


D
Defect ID F
I
D
0
0
1

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 22/


Insert Product
Vu Hoang Long
1.5

N/A/B Total Test Cases


3 2 0 5

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 23/


02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 24/
02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 25/
02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 26/
Function Code FC-03 Function Name
Created By Vu Hoang Long Executed By
Lines of code 50 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested
4 1 0

UTCID01

UTCID02

UTCID05
UTCID03

UTCID04
Condition Precondition

Connected to database O O O O O
Administrator Access O O O O O

Product Name Macbook Air 2022 O O O O


null O

UnitPrice 1500.0 O O O O
-1500.0 O

Quantity In Stock 30 O O O O
-30 O

Release Date 2020-10-10 O O O O


10-10-2020 O

Confirm Return
T O O O O
F O
Exception

Log message
"Update Successful" O O O O
"Http 500" O
Result Type(N : Normal, A : Abnormal, B : Boundary) N A N A N
Passed/Failed P P P F P
Executed Date 1 1 1 1 1
0 0 0 0 0
/ / / / /
2 2 2 2 2
9 9 9 9 9
D
Defect ID F
I
D
0
0
1

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 27/


Update Product
Vu Hoang Long
0

N/A/B Total Test Cases


3 2 0 5

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 28/


Function Code FC-04 Function Name
Created By Vu Hoang Long Executed By
Lines of code 30 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested
1 2 0

UTCID01

UTCID02

UTCID03
Condition Precondition
- Administrator Access O O O
- Connected to database O O O

Id 79 O
80 O
null O

Confirm Return
T O
F O O
Exception

Log message
"DELETE SUCESSFUL" O
"Http500" O O
Result Type(N : Normal, A : Abnormal, B : Boundary) A N A
Passed/Failed P F F
Executed Date 1 1 1
0 0 0
/ / /
2 2 2
9 9 9
D D
Defect ID F F
I I
D D
0 0
0 0
1 2

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 29/


Delete Product
Vu Hoang Long
0

N/A/B Total Test Cases


1 2 0 3

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 30/


Function Code FC-05 Function Name Get Product By Key Words
Created By Vu Hoang Long Executed By Vu Hoang Long
Lines of code 30 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
1 2 0 1

UTCID01

UTCID02

UTCID03
Condition Precondition
- Connected to database O O O

Id
78 O O O
""

79
Confirm Return
T O
F O O
Exception

Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) N A A


Passed/Failed P F F
Executed Date 1 1 1
0 0 0
/ / /
2 2 2
9 9 9
D D
Defect ID F F
I I
D D
0 0
0 0
1 2

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 31/


Get Product By Key Words
Vu Hoang Long
0

N/A/B Total Test Cases


2 0 3

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 32/


Function Code FC-06 Function Name Get Product By Key Words
Created By Vu Hoang Long Executed By Vu Hoang Long
Lines of code 50 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
4 1 0 4

UTCID01

UTCID02

UTCID05
UTCID03

UTCID04
Condition Precondition

- Connected to database O O O O O
-Access to home page O O O O O

Keywords "" O O
"Mac" O O O
Size 76 O O
21 O
Confirm Return
T O O O O
F O
Exception

Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) N N N A N


Passed/Failed P P P F P
Executed Date 1 1 1 1 1
0 0 0 0 0
/ / / / /
3 3 3 3 3
0 0 0 0 0
D
Defect ID F
I
D
0
0
1

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 33/


Get Product By Key Words
Vu Hoang Long
0

N/A/B Total Test Cases


1 0 5

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 34/


Function Code FC-07 Function Name Sort Products
Created By Vu Hoang Long Executed By Vu Hoang Long
Lines of code 65 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
6 0 0 6

UTCID01

UTCID02

UTCID05

UTCID06
UTCID03

UTCID04
Condition Precondition
- Connected to database O O O O O O
Access to home page O O O O O O
Price
Product1:784.6 O O O O O
Product2:1158.2 O O O O O
Product3:1450 O O O O O
Release_date 2020-07-06 O O O O
2020-07-06 O O O O
2020-09-06 O O O O
Sort priceLowHigh O O
priceHighLow O O
latest O O
Confirm Return
T O O O O O O
F
Exception

Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) N N N N N N


Passed/Failed P P P P P P
Executed Date 1 1 1 1 1 1
0 0 0 0 0 0
/ / / / / /
2 2 2 2 2 2
9 9 9 9 9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 35/


Sort Products
Vu Hoang Long
0.5

N/A/B Total Test Cases


0 0 6

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 36/


Function Code FC-08 Function Name Filter By Price
Created By Vu Hoang Long Executed By Vu Hoang Long
Lines of code 48 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
4 0 0 4

UTCID01

UTCID02

UTCID03

UTCID04
Condition Precondition
-Access to home page O O O O
- Connected to database O O O O

Price
Product1:784.4 O O O O
Product2:1158.2 O O O O
Product3:1450 O O O O
Product4:2150.2 O O O O
Filter
Size:0(500-750) O
Size:1(750-1000) O
Size:2(1000-1500) O
Size:1(1500+) O
Confirm Return
T O O O O
F
Exception

Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) N N N N


Passed/Failed P P P P
Executed Date 1 1 1 1
0 0 0 0
/ / / /
3 3 3 3
0 0 0 0

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 37/


Filter By Price
Vu Hoang Long
0.8

N/A/B Total Test Cases


0 0 4

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 38/


Function Code FC-09 Function Name Filter By Brand
Created By Vu Hoang Long Executed By Vu Hoang Long
Lines of code 48 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
4 0 0 0

UTCID01

UTCID02

UTCID03

UTCID04
Condition Precondition
-Access to home page O O O
- Connected to database O O O

Brand_id
Product1:1 O O O O
Product2:1 O O O O
Product3:1 O O
Filter
All(size:3) O
Brand1(size:3) O
All(size:2) O
Brand1(size:2) O
Confirm Return
T O O O O
F
Exception

Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) A A A A


Passed/Failed P P P P
Executed Date 1 1 1 1
0 0 0 0
/ / / /
3 3 3 3
0 0 0 0

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 39/


Filter By Brand
Vu Hoang Long
0.8

N/A/B Total Test Cases


4 0 4

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 40/


Function Code FC-10 Function Name Insert Bills
Created By Nguyễn Quang Lợi Executed By Nguyễn Quang Lợi
Lines of code 52 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
4 0 0 0

UTCID01

UTCID02

UTCID03

UTCID04
Condition Precondition
- Administrator Access O O O O
- Connected to database O O O O
Order
null O
"1" O O O
Status
null O
"shipped" O O O
User
null O O
"1" O O
BillDAO O
null O
Confirm Return
-1 O O O
1 O
Exception

Log message
Không insert O O
Đã insert O
Result Type(N : Normal, A : Abnormal, B : Boundary) A A A A
Passed/Failed P P P P
Executed Date 1 1 1 1
0 0 0 0
/ / / /
2 2 2 2
9 9 9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 41/


Insert Bills
Nguyễn Quang Lợi
1.2

N/A/B Total Test Cases


4 0 4

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 42/


Function Code FC-11 Function Name Update Status Bill
Created By Nguyễn Quang Lợi Executed By Nguyễn Quang Lợi
Lines of code 48 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
3 1 0 0

UTCID01

UTCID02

UTCID03

UTCID04
Condition Precondition
- Administrator Access O O O O
- Connected to database O O O O
Bill Status suites O O O O

Status
null O
"shipped" O O
"delivered" O

"-1"
BillId
null O
"1" O O
"2" O
"-2" O
Confirm Return
T O O
F O O
Exception

Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) A A A A


Passed/Failed F P P P
Executed Date 1 1 1 1
0 0 0 0
/ / / /
2 2 2 2
9 9 9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 43/


Update Status Bill
Nguyễn Quang Lợi
0.8

N/A/B Total Test Cases


4 0 4

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 44/


Function Code FC-12 Function Name Show Bill In Details
Created By Nguyễn Quang Lợi Executed By Nguyễn Quang Lợi
Lines of code 54 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
5 0 0 0

UTCID01

UTCID02

UTCID05
UTCID03

UTCID04
Condition Precondition
- Administrator Access O O O O O
- Connected to database O O O O O

BillId
null O
"-1" O
"1" O
"abc" O
"" O
Confirm Return
Bill detail is empty O O O O
Bill detail is not empty O
Exception

Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) A A A B A


Passed/Failed P P P P P
Executed Date 1 1 1 1 1
0 0 0 0 0
/ / / / /
2 2 2 2 2
9 9 9 9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 45/


Show Bill In Details
Nguyễn Quang Lợi
0.4

N/A/B Total Test Cases


4 1 5

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 46/


Function Code FC-13 Function Name Show Bill Details Admin
Created By Nguyễn Quang Lợi Executed By Nguyễn Quang Lợi
Lines of code 65 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
8 0 0 0

UTCID01

UTCID02

UTCID05

UTCID06

UTCID07
UTCID03

UTCID04
Condition Precondition
- Administrator Access O O O O O O O
- Connected to database O O O O O O O
BillID
"78" O
null O
"abc" O O
"72" O O O
Status
"done" O
"process" O
"wait "
Confirm Return
T O O O
F O O O O
Exception

Log message
Show O O O O
Notfound O O O
Result Type(N : Normal, A : Abnormal, B : Boundary) A A A A A A A
Passed/Failed P P P P P P P
Executed Date 1 1 1 1 1 1 1
0 0 0 0 0 0 0
/ / / / / / /
2 2 2 2 2 2 2
9 9 9 9 9 9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 47/


Show Bill Details Admin
Nguyễn Quang Lợi
-1.5

N/A/B Total Test Cases


8 0 8
UTCID08

O
O

A
P
1
0
/
2
9

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 48/


Function Code FC-14 Function Name Show Bill In Details By Filter
Created By Nguyễn Quang Lợi Executed By Nguyễn Quang Lợi
Lines of code 40 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
4 0 0 2

UTCID01

UTCID02

UTCID03

UTCID04
Condition Precondition
- Administrator Access O O O O
- Connected to database O O O O

Status
"Shipped" O
"Delivered" O
"1" O
"abc" O

Confirm Return
Show Bill Details O O
Empty List Bills O O
Exception

Log message
ShowList O O
Not found O O
Result Type(N : Normal, A : Abnormal, B : Boundary) N N A B
Passed/Failed P P P P
Executed Date 1 1 1 1
0 0 0 0
/ / / /
2 2 2 2
9 9 9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 49/


Show Bill In Details By Filter
Nguyễn Quang Lợi
0

N/A/B Total Test Cases


1 1 4

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 50/


Function Code FC-15 Function Name Get All Brands
Created By Trương Thị Phương Thảo Executed By Trương Thị Phương Thảo
Lines of code 40 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
4 0 0 3

UTCID01

UTCID02

UTCID03

UTCID04
Condition Precondition
- Administrator Access O O O O
- Connected to database O O O O
Vector Brand
null O O
not null O
Brand

"2" O
"Dell" O

"5" O
"Acer" O

Confirm Return
T O O O
F O
Exception

Log message
Brand List O O O
Empty List O
Result Type(N : Normal, A : Abnormal, B : Boundary) B N N N
Passed/Failed P P P P
Executed Date 1 1 1 1
0 0 0 0
/ / / /
2 2 2 2
9 9 9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 51/


Get All Brands
Trương Thị Phương Thảo
0

N/A/B Total Test Cases


0 1 4

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 52/


Function Code FC-16 Function Name Get All Brands By Id
Created By Trương Thị Phương Thảo Executed By Trương Thị Phương Thảo
Lines of code 30 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
0 3 0 0

UTCID01

UTCID02

UTCID03
Condition Precondition
- Administrator Access O O O
- Connected to database O O O
brand Defined O O O

BrandID

"0" O
"2" O
"3" O
Brand Name
"Dell" O
"Lenovo" O

Confirm Return
T
F O O O
Exception

Log message
Found
Not found O O O
Result Type(N : Normal, A : Abnormal, B : Boundary) A A A
Passed/Failed F F F
Executed Date 1 1 1
0 0 0
/ / /
2 2 2
9 9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 53/


Get All Brands By Id
Trương Thị Phương Thảo
0

N/A/B Total Test Cases


3 0 3

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 54/


Function Code FC-17 Function Name
Created By Văn Minh Tuấn Executed By
Lines of code 40 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Unte
3 0

UTCID01
Condition Precondition
- Administrator Access O
- Connected to database O

UserID
Not null O
User(2, "customer1", "customer1", "Customer 1", "customer1@gmail.com", "0123456789", "FU-Hola", 1)

User(3, " customer2", "customer2", "Customer 2", "customer2@gmail.com" , "0123456789","FU-Hola", 1)

Confirm Return
T O
F
Exception

Log message
Not Null O
Null
Result Type(N : Normal, A : Abnormal, B : Boundary) N
Passed/Failed P
Executed Date 1
0
/
2
9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 55/


Function Name Get All User
Executed By Văn Minh Tuấn
Lack of test cases 1

Untested N/A/B Total Test Cases


0 3 0 0 3
UTCID02

UTCID03

O O
O O

O
O

O O

O O

N N
P P
1 1
0 0
/ /
2 2
9 9

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 56/


Function Code FC-18 Function Name Get One User
Created By Văn Minh Tuấn Executed By Văn Minh Tuấn
Lines of code 50 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
5 0 0 1

UTCID01

UTCID02

UTCID05
UTCID03

UTCID04
Condition Precondition
- Administrator Access O O O O O
- Connected to database O O O O O

User Name
"" O
"admin" O O
"1" O
null O

Password
"" O O
"admin" O O
null O

Confirm Return
Exist O
Non-exist O O O O
Exception

Log message
Found O
Not found O O O O
Result Type(N : Normal, A : Abnormal, B : Boundary) A N A A A
Passed/Failed P P P P P
Executed Date 1 1 1 1 1
0 0 0 0 0
/ / / / /
2 2 2 2 2
9 9 9 9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 57/


Get One User
Văn Minh Tuấn
0

N/A/B Total Test Cases


4 0 5

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 58/


Function Code FC-19 Function Name Get All Customer
Created By Văn Minh Tuấn Executed By Văn Minh Tuấn
Lines of code 40 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
3 0 0 2

UTCID01

UTCID02

UTCID03
Condition Precondition
- Administrator Access O O O
- Connected to database O O O

CustomerList
not null O

Username
"admin" O

"cus1"" O

Confirm Return
T O O
F O
Exception

Log message
Customer List O O
Empty List O
Result Type(N : Normal, A : Abnormal, B : Boundary) N B N
Passed/Failed P P P
Executed Date 1 1 1
0 0 0
/ / /
2 2 2
9 9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 59/


Get All Customer
Văn Minh Tuấn
1

N/A/B Total Test Cases


0 1 3

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 60/


Function Code FC-22 Function Name Insert User
Created By Văn Minh Tuấn Executed By Văn Minh Tuấn
Lines of code 60 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
4 2 0 3

UTCID01

UTCID02

UTCID05

UTCID06
UTCID03

UTCID04
Condition Precondition
- Administrator Access O O O O O O
- Connected to database O O O O O O
RoleId 1 O O O O O
0 O
username
null O O O
"Ngoc" O O O
Password "123456" O O O O
"" O O
Full Name "" O
"Nguyễn Hoàng Mai" O O O O
Email "" O O O
"nguyenhoangmai@gmail.com" O O O
Phone "0985567" O O O O
"" O O O
Address "HN" O O O O
null O O
Confirm Return
T O O O
F O O O O
Exception

Log message
Can not insert O O O
Inserted O O O
Result Type(N : Normal, A : Abnormal, B : Boundary) A N N N A A
Passed/Failed F P F P P P
Executed Date 1 1 1 1 1 1
0 0 0 0 0 0
/ / / / / /
2 2 2 2 2 2
9 9 9 9 9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 61/


Insert User
Văn Minh Tuấn
0

N/A/B Total Test Cases


3 0 6

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 62/


Function Code FC-20 Function Name Get User By ID
Created By Văn Minh Tuấn Executed By Văn Minh Tuấn
Lines of code 50 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
4 0 0 4

UTCID01

UTCID02

UTCID03

UTCID04
Condition Precondition
- Administrator Access O O O O
- Connected to database O O O O

BrandID
"null" O
"0" O
"2" O
"3" O

Confirm Return
T O O
F O O
Exception

Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) N N N N


Passed/Failed P P P P
Executed Date 1 1 1 1
0 0 0 0
/ / / /
2 2 2 2
9 9 9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 63/


Get User By ID
Văn Minh Tuấn
1

N/A/B Total Test Cases


0 0 4

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 64/


Function Code FC-21 Function Name Get Customer By Name
Created By Văn Minh Tuấn Executed By Văn Minh Tuấn
Lines of code 60 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
4 0 0 4

UTCID01

UTCID02

UTCID03

UTCID04
Condition Precondition
- Administrator Access O O O O
- Connected to database O O O O

Name
null O
"0" O
"" O
"cus1" O

Confirm Return
T O
F O O O
Exception

Log message
Found O
No found O O O
Result Type(N : Normal, A : Abnormal, B : Boundary) N N N N
Passed/Failed P P P P
Executed Date 1 1 1 1
0 0 0 0
/ / / /
2 2 2 2
9 9 9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 65/


Get Customer By Name
Văn Minh Tuấn
2

N/A/B Total Test Cases


0 0 4

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 66/


Function Code FC-23 Function Name Ban User
Created By Văn Minh Tuấn Executed By Văn Minh Tuấn
Lines of code 40 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
4 0 0 2

UTCID01

UTCID02

UTCID03

UTCID04
Condition Precondition
- Administrator Access O O O O
- Connected to database O O O O

User ID
7 O
1 O
"abc" O
-1 O

Confirm Return
T O
F O O O
Exception

Log message
Not ban O O O
banned O
Result Type(N : Normal, A : Abnormal, B : Boundary) N N A A
Passed/Failed P P P P
Executed Date 1 1 1 1
0 0 0 0
/ / / /
2 2 2 2
9 9 9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 67/


Ban User
Văn Minh Tuấn
0

N/A/B Total Test Cases


2 0 4

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 68/


Function Code FC-24 Function Name Insert Order Details
Created By Kiều Nam Hải Executed By Kiều Nam Hải
Lines of code 45 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
4 1 0 4

UTCID01

UTCID02

UTCID03

UTCID04

UTCID05
Condition Precondition
- Administrator Access O O O O O
- Connected to database O O O O O

Product Quantity 0 O
1 O O O
-1 O
Product ID null O
1 O O O
-4 O
Order ID null
3 O O O O
-2 O
Price
-120000 O
12000 O O O O
0
Confirm Return
T O O O
F O O
Exception

Log message
Inserted O O O
Can be inserted O O
Result Type(N : Normal, A : Abnormal, B : Boundary) N N A N N
Passed/Failed P P F P P
Executed Date 1 1 1 1 1
0 0 0 0 0
/ / / / /
2 2 2 2 2
9 9 9 9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 69/


Insert Order Details
Kiều Nam Hải
-0.5

N/A/B Total Test Cases


1 0 5

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 70/


Function Code FC-26 Function Name Get Order Detail By ID
Created By Kiều Nam Hải Executed By Kiều Nam Hải
Lines of code 44 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
5 0 0 0

UTCID01

UTCID02

UTCID03

UTCID04

UTCID04
Condition Precondition
- Administrator Access O O O O O
- Connected to database O O O O O

id
null O
"0" O
"1" O
"-1" O
"78" O
user_id
null O O O O
"12" O
created_date
null O O O O
"2023-07-13" O
Confirm Return
T O
F O O O O
Exception

Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) A A A A A


Passed/Failed P P P P P
Executed Date 1 1 1 1 1
0 0 0 0 0
/ / / / /
2 2 2 2 2
9 9 9 9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 71/


Get Order Detail By ID
Kiều Nam Hải
-0.6

N/A/B Total Test Cases


5 0 5

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 72/


Function Code FC-25 Function Name Insert Order
Created By Kiều Nam Hải Executed By Kiều Nam Hải
Lines of code 80 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
8 0 0 7

UTCID01

UTCID02

UTCID05

UTCID06
UTCID03

UTCID04

UTCID07
Condition Precondition
- Administrator Access O O O O O O O
- Connected to database O O O O O O O

Quantity
null O O O O O
"0" O
"1" O
"2"
"-1"

product_id
null O
"0" O O O
"1" O O
"-1" O

order_id
null O
"0" O O
"1" O O O
"-1" O

price

null O O O
"0" O
"-10" O
"10" O O
Confirm Return
T O
F O O O O O O
Exception

Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) N N N N N N A


Passed/Failed P P P P P P P

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 73/


Executed Date 1 1 1 1 1 1 1
0 0 0 0 0 0 0
/ / / / / / /
2 2 2 2 2 2 2
9 9 9 9 9 9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 74/


Insert Order
Kiều Nam Hải
0

N/A/B Total Test Cases


1 0 8
UTCID08

O
O

N
P

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 75/


1
0
/
2
9

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 76/


Function Code FC-32 Function Name Order Detail Model
Created By Kiều Nam Hải Executed By Kiều Nam Hải
Lines of code 50 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
5 0 0 0

UTCID01

UTCID02

UTCID03

UTCID04

UTCID05
Condition Precondition
- Administrator Access O O O O O
- Connected to database O O O O O
- Product Categories Defined O O O O O

Order_id
null O
"0" O
"78" O
"77" O
"-1" O

product_quantity
null O O O O
"2" O
Product_id
null O O O O
"6" O
Confirm price

null O O O O
"2551.2" O
Return
T O
F O O O O
Exception

Result Log message


Type(N : Normal, A : Abnormal, B : Boundary) A A N A A

Passed/Failed P P P P P
Executed Date 1 1 1 1 1
0 0 0 0 0
/ / / / /
2 2 2 2 2
9 9 9 9 9

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 77/


Order Detail Model
Kiều Nam Hải
0

N/A/B Total Test Cases


0 0 5

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 78/


Function Code FC-33 Function Name
Created By Trương Thị Phương Thảo Executed By
Lines of code 51 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested
2 0 0

UTCID01

UTCID02
Condition Precondition
- Administrator Access O O
- Connected to database O O
- Product Categories Defined O O

Bill.BillBuilder(id=0, created_date=null, status=null, order=null,user=null) O


null O

Confirm Return
T O
F O
Exception

Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) N N


Passed/Failed P P
Executed Date 1 1
0 0
/ /
2 2
9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 79/


Bill Bulider
Trương Thị Phương Thảo
3.1

N/A/B Total Test Cases


2 0 0 2

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 80/


Function Code FC-27 Function Name Bill Equals
Created By Trương Thị Phương Thảo Executed By Trương Thị Phương Thảo
Lines of code 48 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
2 0 0 2

UTCID01

UTCID02
Condition Precondition
- Administrator Access O O
- Connected to database O O

Bills
null O
id=1, created_date=null, status=null, order=null, user=null O

Confirm Return
T O
F O
Exception

Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) N N


Passed/Failed P P
Executed Date 1 1
0 0
/ /
2 2
9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 81/


Bill Equals
Trương Thị Phương Thảo
2.8

N/A/B Total Test Cases


0 0 2

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 82/


Function Code FC-28 Function Name Can Equals
Created By Trương Thị Phương Thảo Executed By Trương Thị Phương Thảo
Lines of code 30 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
3 0 0 2

UTCID01

UTCID02

UTCID03
Condition Precondition
- Administrator Access O O O
- Connected to database O O O

Bills
null O
id=1, created_date=null, status=null, order=null, user=null O
id=1, created_date="2023-2-2", status=null, order=null, user=1 O

Confirm Return
T O
F O O
Exception

Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) A N N


Passed/Failed P P P
Executed Date 1 1 1
0 0 0
/ / /
2 2 2
9 9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 83/


Can Equals
Trương Thị Phương Thảo
0

N/A/B Total Test Cases


1 0 3

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 84/


Function Code FC-29 Function Name GetBill ID
Created By Trương Thị Phương Thảo Executed By Trương Thị Phương Thảo
Lines of code 40 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
4 0 0 2

UTCID01

UTCID02

UTCID03

UTCID04
Condition Precondition
- Administrator Access O O O O
- Connected to database O O O O

ID
"1" O
null O
"abc" O
"-1" O

Confirm Return
T O O
F O O
Exception

Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) N N A A


Passed/Failed P P P P
Executed Date 1 1 1 1
0 0 0 0
/ / / /
2 2 2 2
9 9 9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 85/


GetBill ID
Trương Thị Phương Thảo
0

N/A/B Total Test Cases


2 0 4

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 86/


Function Code FC-30 Function Name Get CreatedDate
Created By Trương Thị Phương Thảo Executed By Trương Thị Phương Thảo
Lines of code 50 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
4 1 0 3

UTCID01

UTCID02

UTCID03

UTCID04

UTCID05
Condition Precondition
- Administrator Access O O O O O
- Connected to database O O O O O

Created Date
"1" O
null O
"2023-09-08" O
"2121-09-09" O
"1990-09-08" O

Confirm Return
T O O O
F O O
Exception

Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) N N N A B


Passed/Failed P P P F P
Executed Date 1 1 1 1 1
0 0 0 0 0
/ / / / /
2 2 2 2 2
9 9 9 9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 87/


Get CreatedDate
Trương Thị Phương Thảo
0

N/A/B Total Test Cases


1 1 5

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 88/


Function Code FC-31 Function Name Get Status Bill
Created By Trương Thị Phương Thảo Executed By Trương Thị Phương Thảo
Lines of code 30 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
3 0 0 3

UTCID01

UTCID02

UTCID03
Condition Precondition
- Administrator Access O O O
- Connected to database O O O

Status
"" O
null O
"delivered" O

Confirm Return
T O O O
F
Exception

Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) N N N


Passed/Failed P P P
Executed Date 1 1 1
0 0 0
/ / /
2 2 2
9 9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 89/


Get Status Bill
Trương Thị Phương Thảo
0

N/A/B Total Test Cases


0 0 3

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 90/


Function Code FC-34 Function Name
Created By Trương Thị Phương Thảo Executed By
Lines of code 20 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested
2 0 0

UTCID01

UTCID02
Condition Precondition
- Administrator Access O O
- Connected to database O O

Order
null O
id=1, created_date="2022-07-09", status="wait", order=3, user=1 O

Confirm Return
T O
F O
Exception

Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) N N


Passed/Failed P P
Executed Date 1 1
0 0
/ /
2 2
9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 91/


Get Order Bill
Trương Thị Phương Thảo
0

N/A/B Total Test Cases


2 0 0 2

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 92/


Function Code FC-35 Function Name Set Bill Id
Created By Trương Thị Phương Thảo Executed By Trương Thị Phương Thảo
Lines of code 40 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
4 0 0 0 0

UTCID01

UTCID02

UTCID03

UTCID04
Condition Precondition
- Administrator Access O O O O
- Connected to database O O O O
ID
"1" O
null O
"abc" O
"-1" O

Confirm Return
T O O
F O O
Exception

Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) N N A A


Passed/Failed P P P P
Executed Date 1 1 1 1
0 0 0 0
/ / / /
2 2 2 2
9 9 9 9

Defect ID

ID
"1" O
null O
"abc" O

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 93/


"-1" O

Confirm Return
T O O
F O O
Exception

Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) N N A A


Passed/Failed P P P P
Executed Date 1 1 1 1
0 0 0 0
/ / / /
2 2 2 2
9 9 9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 94/


et Bill Id
ương Thị Phương Thảo
0

N/A/B Total Test Cases


0 4

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 95/


02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 96/
Function Code FC-36 Function Name Set CreatedDate Bill
Created By Trương Thị Phương Thảo Executed By Trương Thị Phương Thảo
Lines of code 50 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
4 1 0 3

UTCID01

UTCID02

UTCID03

UTCID04

UTCID05
Condition Precondition
- Administrator Access O O O O O
- Connected to database O O O O O

Created Date
"1" O
null O
"2023-09-08" O
"2121-09-09" O
"1990-09-08" O

Confirm Return
T O O O
F O O
Exception

Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) N N N A B


Passed/Failed P P P F P
Executed Date 1 1 1 1 1
0 0 0 0 0
/ / / / /
2 2 2 2 2
9 9 9 9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 97/


Set CreatedDate Bill
Trương Thị Phương Thảo
0

N/A/B Total Test Cases


1 1 5

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 98/


Function Code FC-37 Function Name Set Status Bill
Created By Trương Thị Phương Thảo Executed By Trương Thị Phương Thảo
Lines of code 30 Lack of test cases 0
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B
3 0 0 3 0 0

UTCID01

UTCID02

UTCID03
Condition Precondition
- Administrator Access O O O
- Connected to database O O O

Status
"" O
null O
"delivered" O

Confirm Return
T O O O
F
Exception

Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) N N N


Passed/Failed P P P
Executed Date 1 1 1
0 0 0
/ / /
2 2 2
9 9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 99/


Bill

Total Test Cases


3

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 100/


Function Code FC-35 Function Name
Created By Trương Thị Phương Thảo Executed By
Lines of code 20 Lack of test cases
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested
2 0 0

UTCID01

UTCID02
Condition Precondition
- Administrator Access O O
- Connected to database O O

Order
null O
id=1, created_date="2022-07-09", status="wait", order=3, user=1 O

Confirm Return
T O
F O
Exception

Log message

Result Type(N : Normal, A : Abnormal, B : Boundary) N N


Passed/Failed P P
Executed Date 1 1
0 0
/ /
2 2
9 9

Defect ID

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 101/


Set Bill Id
Trương Thị Phương Thảo
0

N/A/B Total Test Cases


0 0 0 2

02ae-BM/PM/HDCV/FSOFT v2/1 Internal use 102/

You might also like