Integration Testing Best Practices

I’m creating a package that uses a RabbitMQ Client Library and I’ve done some tests. I have no experience with integration tests in Go, so I would like to know what is the right way to do it.

Right now I have a docker-compose.yml file that start a service with the docker image “rabbitmq:3.7.14-management-alpine” and once I’ve run the docker-compose up I run manually the test cases.

Should I create a new service in the docker compose just for running those test cases?

Thank you in advance.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.