Open ghost opened 6 years ago
How can we test this code ? How to execute REST end points?
I wrote some test cases for some scenarios, You can find it in the following links below:
https://github.com/marcosnasp/spring-boot-examples/tree/master/spring-boot-2-jdbc-with-h2/src/test/java/com/in28minutes/springboot/jdbc/h2/example
https://github.com/marcosnasp/spring-boot-examples/tree/master/spring-boot-2-jpa-spring-data-rest/src/test/java/com/in28minutes/springboot/jpa/spring/data/rest/example
How can we test this code ? How to execute REST end points?