I have a distributed system with components spread across multiple boxes. They talk to each other using tcp or multicast. Each components interchanges messages with each other - these are basically data structures that get serialized.
What integration test frameworks do we have for testing systems like these? I am familiar with ruby so something ruby based would definitely help.
I suppose there are different ways of doing it. I try to avoid integration testing as much as I can but at some point is needed ofcourse. This is just a suggestion what I would do:
Personally I think that calling objects from one distributed module into another in test methods, is not a good practice. Yes that would be an integration test, but I think it is very easy reliable.
Always have in mind the pyramid of testing, remember that integration tests and end to end tests can be very expensive. So choose wisely when to use them:
I come from the Java world, this following is just some extra information that I think is also related to the topic and might be of your interest:
Hope you find it useful.
You can checkout Zopkio : https://github.com/linkedin/Zopkio. Its an open source framework for functional and performance testing of distributed systems.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With