whether we can write tests for exiting Springboot app? I'm having exit code mapper in main class. Need to write test for different exit code and check it's exit code(1/2/3).
Hi and thanks for your comment. Testing Spring Boot apps is a broad topic, as we have unit tests for services, integration tests for data layer, web layer tests etc. I highly recommend you to read my book "Friendly Webflux" (leanpub.com/friendlywebflux). It has all these aspects covered in a very systematic way. Enjoy!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
whether we can write tests for exiting Springboot app? I'm having exit code mapper in main class. Need to write test for different exit code and check it's exit code(1/2/3).
Hi and thanks for your comment. Testing Spring Boot apps is a broad topic, as we have unit tests for services, integration tests for data layer, web layer tests etc. I highly recommend you to read my book "Friendly Webflux" (leanpub.com/friendlywebflux). It has all these aspects covered in a very systematic way. Enjoy!