shanejansen / touchstone

Touchstone is a testing framework for your services that focuses on component, end-to-end, and exploratory testing.
16 stars 2 forks source link

Multiple service's urls #50

Open ScottFreeCode opened 2 years ago

ScottFreeCode commented 2 years ago

One thing Touchstone is great at, is setting up a test for a flow that spans multiple services. Drop a rabbit message to service-a for input, service-a talks to service-b, assert that service-b sends a rabbit message for output.

If the flow involves REST calls to both services, however, we are limited to hitting one service via self.service_url; so for instance you could not POST to service-a for input and then GET service-b for output (to assert on) in the same test.

This could be made possible with a self.services hashmap, self.services['service-name']