Test ShopLite: repository queries
60 min · Advanced
Need help? Ask a tutor on WhatsApp (opens in a new tab)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.