8thlight / cob_spec

A fitnesse suite for a web server
24 stars 33 forks source link

Ensure that server is started in Setup and allow timeout to be config… #75

Open adyang opened 4 years ago

adyang commented 4 years ago

…urable.

I had an issue where the test suite was not working because my server took more than 2 seconds to start. I investigated and saw that it is possible to add a check to ensure the server is really started in the setup phase.

Therefore, I added an ensure step in the Setup phase to:

  1. Allow the test to continue base on when the server was started
  2. Allow the timeout for the check to be configurable, using ISO 8601 Durations notation