Where should a test server be hosted?



  • Should a test server be hosted locally or on the internet ? What are the pros/cons? I have seen people do both. What is best practice?



  • It should be hosted where everyone who needs to test can access it. Important is that everyone can test in isolation, you don't want different processes or users interfering with each others tests runs.

    As you tagged this question with "continuous integration" I would like to add that for automated tests I love to spin up a test environment from scratch so all the tests run 100% in isolation on a clean system. Automating the bootstrap of your environment with something like Vagrant could make this relatively easy.

    In most cases you want to simulate your production environment as close as possible. As a manual tester you want to get the same feeling your end-clients are having. I think reporting on usability (including how smooth it feels) is just as important as finding functional defects. So hosting your test environment in the same datacenter and on similar hardware would make sense in this case.

    Pro's for internet:

    • Easy access
    • Possible similar to end-users

    Con's against internet:

    • Security
    • Latency


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2