Skip to content

test case of coin locker exercise (tester part time) #6

Open
@maiithip

Description

@maiithip

the test case of coin locker exercise (tester part-time) by Thipchanok (Maii)

no. test case locker status action duration/minutes charge insert coin/bill refund can selete? exchange of refund
1 User select unit of 1 and insert 1,000 baht TRUE select unit of 1 60 50 1000 950 TRUE 500x1,100x4,50x1
select unit of 1 40 50 1000 950 TRUE 500x1,100x4,50x1
select unit of 1 70 300 1000 700 TRUE 500x1,100x2
2 User select unit of 1 and insert 1000 baht (the refund don't work) TRUE select unit of 1 60 50 1000 900 FALSE -
select unit of 1 40 50 1000 900 FALSE -
select unit of 1 70 75 1000 900 FALSE -
3 User select unit of 1 but it' doesn't empty and cannot insert 1,000 baht FALSE - - - - - FALSE -
4 User select unit of 1 and don't insert coin/bill TRUE select unit of 1 60 50 - - FALSE -
5 User select unit of 2 and insert 50 baht TRUE select unit of 2 60 100 50 -50 FALSE -
select unit of 2 59 100 50 -50 FALSE -
select unit of 2 70 600 50 -550 FALSE -
6 User select unit of 2 and insert 100 baht TRUE select unit of 2 60 100 100 0 TRUE -
select unit of 2 40 100 100 0 TRUE -
select unit of 2 61 150 100 -50 FALSE -
7 User select unit of 2 and insert 1000 baht TRUE selete unit of 2 60 100 1000 900 TRUE 500x1,100x4
selete unit of 2 59 100 1000 900 TRUE 500x1,100x4
selete unit of 2 65 350 1000 650 TRUE 500x1,100x1,50x1
8 User select unit of 3 and insert 50 baht TRUE selete unit of 3 60 200 50 -150 FALSE -
selete unit of 3 45 200 50 -150 FALSE -
selete unit of 3 70 1200 50 -1150 FALSE -
9 User select unit of 3 and insert 200 baht TRUE selete unit of 3 60 200 200 0 TRUE -
selete unit of 3 45 200 200 0 TRUE -
selete unit of 3 70 1200 200 -1000 FALSE -
10 User select unit of 3 and insert 1500 baht TRUE selete unit of 3 60 200 1500 1300 TRUE 500x2,100x3
selete unit of 3 45 200 1500 1300 TRUE 500x2,100x3
selete unit of 3 70 1200 1500 300 TRUE 100x3

And I have attached an excel file

test case coin Locker.xlsx

Thank you, I hope to have the opportunity to work with you in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions