Mini project: test the ShopLite category API
60 min · Advanced
Need help? Ask a tutor on WhatsApp (opens in a new tab)One feature, tested at every layer: ShopLite's category API gets service unit tests for its rules, MockMvc tests for every endpoint and error, repository tests on MySQL and one full flow, each test using the slice that fits its job.
What you will learn
What you will learn
- Testing a Spring Boot feature end to end
- Service, web, repository and flow tests
- Spring test slices in practice
Sign in to continue this lesson
Create an account to read every lesson, practise with the exercises and keep track of your progress.