Clone
James Perkins
committed
on 17 May 17
Do not attempt to start the server in the constructor. JUnit attempts to create all tests before it runs any test. The failure to start the … Show more
Do not attempt to start the server in the constructor. JUnit attempts to create all tests before it runs any test. The failure to start the server is captured by JUnit, but all other tests are created before JUnit fails. Moving the startup out of the constructor allows the tests to fail fast if the startup of the server fails.

Show less

master + 5 more