Skip to content

nrichand/tdd-bug-fixing-session

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Challenge

Fix the bugs in this order using TDD. Always write a test first before touching the code.

Bug 1

When I tried to retrieve the shows that are below or equal to 100 I get only 2 shows when there should be 3 shows.

Bug 2

When I tried to retrieve the shows that are below or equal to 110 I get only 2 shows when I expect 4 shows.

Bug 3

When I calculate the basket price I get numbers with lot of decimals when I expect a price with a format as following 256.00 (i.e. 2 decimals)

About

Fix those damn bugs using TDD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published