Blog

Run same JUnit test with multiple roles using Spring Security

When building enterprise applications with Spring Boot and Spring Security, it’s common to implement role-based access control (RBAC). But how do we test the same endpoint with different roles—without duplicating your test code? Enter JUnit parameterized tests. In this post,…

Read MoreRun same JUnit test with multiple roles using Spring Security