Skip to lesson

Test ShopLite: repository queries

A query can compile, pass every unit test with mocks and still return the wrong rows, so repository tests run real SQL against a real database with known data.

Sign in to continue this lesson

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