Skip to lesson

Mini project: a test suite for the ShopLite cart

A class is only as trustworthy as its tests. The ShopLite cart has rules about quantities, prices and unknown products, and a well-organised suite pins every one of them down in a form that reads like a specification.

Sign in to continue this lesson

Create an account to read every lesson, practise with the exercises and keep track of your progress.