Tag: unittests

  • How to write unit test cases for REST APIs in Spring Boot?

    How to write unit test cases for REST APIs in Spring Boot?

    One of the ways to write robust code is to write unit test cases. This way you make sure that the changes you make on a code doesn’t break any existing functionality. This helps in preventing bugs later. Spring Boot provides an easier way to write unit test cases for your REST APIs. Let’s see…