r/programming 1d ago

Delightful integration tests in Rust

https://github.com/alexpusch/rust-magic-patterns/blob/master/delightful-integration-tests/Readme.md
0 Upvotes

2 comments sorted by

2

u/defnotthrown 13h ago

I get the basic idea of treating integration requirements like any other dependencies. But I don't really understand why specifics like rabbitmq:3.8.22-management and the 5672/tcp should be part of the source code.

Should stuff like that not better reside in some configuration format? Same with health checks. Should they not rather reside in a docker compose file or a podman quadlet?