I currently have docker running on my PC and I switch between Pull Requests (git) to test on local environments. Sometimes I’ll test on an integrated ‘staging’ environment too.
At this point my thinking is that we could test at any given point in time. Whether it’s local, on staging or in production, it doesn’t really matter too much, it just means different checks at different times.
This switching local environments contantly is very painful. Is there any service/tool that generates a virtual environment per Pull Request on demand?
Or did you come up with different answers to this problem?
My main problem at this moment is testing the simpler things (some flows, text, design, different browsers,…) on different Pull Request’s (PR) at the same time. An example:
- A PR is ready, I set up the environment, test data, state correctly to test it locally.
- I find some issues, give feedback and move to the next PR.
- I do step 1 and 2 again, but for the next PR.
- By then the first PR has integrated changes based on the feedback I have, so I switch back, sometimes having to do the setup again.
This is painful. Especially if there’s often many PR’s being ‘juggled’ at the same time.
I found env0.com does something to virtualise local environments per PR. Anyone know alternatives or has worked with something similar?
I’m especially interested in less-regulated environments, startup style contexts, where risk of failure in production is less big.