0% found this document useful (0 votes)
26 views6 pages

Swt301 Sp24 Pe Template

Uploaded by

uyennlda170024
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)
26 views6 pages

Swt301 Sp24 Pe Template

Uploaded by

uyennlda170024
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/ 6

Issue No Description Line Detail

1 local variable overshadow the 1st input 3 int[] arr1 = {};


2 Cannot concatenate char to String directly, reserString += stack.pop() should be reserString += stack.pop().toString()
3 The Scanner object should be closed to
avoid resource leaks
4 Missing generic type for Stack, should be Stack<Character>
5 Loop does not process the last character of the input string, inString.length() - 1 should be inString.length()
6 The input string should be trimmed to avoid leading/trailing spaces affecting the result

* Notes: Blue text is sample, needed to be deleted in the answer


eserString += stack.pop().toString()

hould be inString.length()
Function Code Function1 Function Name Function A
Created By <Developer Name> Executed By
Lines of code Lack of test cases -2
Test requirement <Brief description about requirements which are tested in this function>
Passed Failed Untested N/A/B Total Test Cases
9 0 6 5 2 2 15

UT UT UT UT UT UT UT UT UT UT UT UT UT UT UT
CI CI CI CI CI CI CI CI CI CI CI CI CI CI CI
D0 D0 D0 D0 D0 D0 D0 D0 D0 D1 D1 D1 D1 D1 D1
1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
Condition Precondition
a,b,c is float

Input condition
a
0 O O O
1 O O O O
%^sfgds O
max float +1 O
b

0 O O
4 O O O O O O
max float -1 O
c

0 O
1 O O O O O
4 O
10 O O

Confirm Return
Delta < 0 O O
Delta = 0 O O
Delta > 0 O O
X1 O O
X2 O
Exception

Log message
The equation has no solution! O O O
The equation has one solution: x = {0} O
The equation has two solutions: x1 = {0} va x2 = {1} O
The equation has dual solutions: x1 = x2 = {0} O
Result
Type(N : Normal, A : Abnormal, B : Boundary) N N N N N A B B A
Passed/Failed P P P P P P P P P
Executed Date ###########################
Defect ID UT UT UT UT UT UT UT UT UT
01 02 03 04 05 06 07 08 09

* Notes: Blue text is sample, needed to be deleted in the answer


Don't edit the grey cell
Test case
Pass: 3
Module Create new receipt Fail: 0
Code
Tester Lê Văn Tám Percent Complete: 15%
ID Test Case Description Pre -Condition Test Case Procedure
TC001 From Date From Date: cannot select dates in the From Date: 1/1/2019
past. To Date: 1/1/2019
To Date: "To Date" >= "From Date" Room: 102
Room. Hour/Day: 1d
Hour/Day: 2 to 4, integer + character Name: Nguyen Van A
Name: >1 and < 50 characters Phone: 0905111222
Phone: >1 and < 20 characters …..
…..

TC002 From Date From Date: cannot select dates in the From Date: 31/12/2018
past. To Date: 1/1/2019
To Date: "To Date" >= "From Date" Room: 102
Room. Hour/Day: 1d
Hour/Day: 2 to 4, integer + character Name: Nguyen Van A
Name: >1 and < 50 characters Phone: 0905111222
Phone: >1 and < 20 characters …..
…..
TC003 To Date From Date: cannot select dates in the From Date: 1/1/2019
past. To Date: 31/12/2018
To Date: "To Date" >= "From Date" Room: 102
Room. Hour/Day: 1d
Hour/Day: 2 to 4, integer + character Name: Nguyen Van A
Name: >1 and < 50 characters Phone: 0905111222
Phone: >1 and < 20 characters …..
…..
TC001 Name From Date: cannot select dates in the From Date: 1/1/2019
past. To Date: 1/1/2019
To Date: "To Date" >= "From Date" Room: 102
Room. Hour/Day: 25h
Hour/Day: 2 to 4, integer + character Name: >50 character
Name: >1 and < 50 characters Phone: 0905111222
Phone: >1 and < 20 characters …..
…..

* Notes: Blue text is sample, needed to be deleted in the answer


Test case
Untested: 0
N/A: 0

Number of cases: 5
Test date
Expected Output Result Bug# Note
(dd/mm/yyyy)
Click: OK Pass N/A VP1, VP2, VP3, VP4, VP5,
Created successfully VP6
Normal flow

Click: OK Pass N/A VP1, VP2, VP3, VP4, VP5,


Created Fail VP6
Normal flow

Click: OK Pass N/A VP1, VP2, VP3, VP4, VP5,


Created successfully VP6
Normal flow

Click: OK Pass N/A IP2, VB2


Created successfully Normal flow

You might also like