4 ms·
Localhost shouldn't look like production. You should have a remote QA environment for testing deployments etc that looks as close to production as possible. Ide
by usrn 4y ago
Localhost shouldn't look like production. You should have a remote QA environment for testing deployments etc that looks as close to production as possible. Ideally other people should depend on it for testing their software so you have motivation not to break it.
- gregoriol 4y agoTesting is great, but developing with the same characteristics is important: some behaviours are different when you use https.
- 01acheru 4y agoYour local environment is not the same as localhost. Having your dev environment set up like a production env from this point of view doesn't mean you don't have a remote test env, it means you can debug stuff that only break on that test env or even better that you finish your work without that problem even showing up.
- Spivak 4y agoThis logic makes no sense because surely you want to catch bugs as early in the process as possible and the more your local environment looks like qa looks like prod the fewer issues you’ll run into when running your app in a different environment. Why would you wait for your development cycle to slow down from seconds to minutes to catch problems that could be caught beforehand?