I have a web app with an external service.
I want to swap that external service out with Martian in my tests.
What do you recommend?
I could:
- leave a martian proxy instance running and configure all my application instances in a particular environment to hit the proxy instead of the regular service.
- have my tests in their setups start up the proxy and make calls to the app with parameters that make the app hit the proxy
- any other possible config...
I want to know how you typically use it.
This idea of using a proxy in tests is very new to me, and I would like some practical advice that gives an overview of how everything works.
Where are the good resources I can read to get educated about how to do this well?