I have developed an application with multiple producers & consumers using Spring boot & RabbitMQ. Application is working fine without any issues, but still i want to do unit testing & integration testing.I browsed google but no luck not getting solid use case to do testing Spring boot & rabbitMQ together.
So i would like to know which tool is best suitable for testing Spring Boot & RabbitMQ(atleast a hint of how to write a test case is appreciable)? I saw similar stackoverflow post but didn't get solution.Your help should be appreciated.
Not sure what are you looking for, but Spring Boot Testing framework together with the classical JUnit and Mockito are fully enough for unit testing.
In addition you can take a look into spring-rabbit-test
library, where we have enough useful testing utilities: http://docs.spring.io/spring-amqp/docs/1.6.0.RELEASE/reference/html/_reference.html#testing