saucelabs / forwarder

Forwarder is a production-ready, fast MITM proxy with PAC support. It's suitable for debugging, intercepting and manipulating HTTP traffic. It's used as a core component of Sauce Labs Sauce Connect Proxy.
https://forwarder-proxy.io
Mozilla Public License 2.0
225 stars 13 forks source link

e2e test in container #761

Closed mmatczuk closed 6 months ago

mmatczuk commented 6 months ago
Choraden commented 6 months ago

What I really like about the current approach is the existence of compose.yaml directly in /e2e. I often work like this:

  1. Find the right setup.
  2. Run tests with this setup to generate compose.yaml.
  3. Manually modify the compose file e.g. add some env vars.
  4. Develop/debug.

I'd appreciate if we could somehow keep this functionality. Maybe we could add another target to generate compose directly with API ports exposed?

This would also require keeping make targets like up, down to play with. BTW I think we need make down either way to shut down composes in debug mode.

Choraden commented 6 months ago

e2e/README.md became outdated.

mmatczuk commented 6 months ago

Rewritten in #765