Mini project: ShopLite coupon rules with TDD
75 min · Intermediate
Need help? Ask a tutor on WhatsApp (opens in a new tab)Coupons are full of rules that customers notice at once when they are wrong: an expired code that still works, a Rs 100 coupon on a Rs 60 order, a one-time code used twice. Building them test-first makes every rule, and every boundary, a test.
Sign in to continue this lesson
Create an account to read every lesson, practise with the exercises and keep track of your progress.