J Mack

Show:

What's happening?

  • setStopOnError skips test teardown

    When the setStopOnError(true) is called it causes everything in the test to be skipped when an exception is encountered which is very useful. However it also skips the tearDown which is not very useful, because even when the test is abandoned the teardown can be needed to do useful cleanup (closing a database connection, or shutting down a browser window for selenium tests). Is there anyway...

    2009-03-27 10:07:39 UTC in FitLibrary

  • setStopOnError skips Teardown

    When the setStopOnError(true) is called it causes everything in the test to be skipped including the tearDown. This is undesirable (and contrary to the documenation) because when the test is abandoned there might be some vital tearDown that needs to be done to clean up after the test run.

    2009-03-18 18:09:14 UTC in FitLibrary

About Me

  • 2009-03-18 (8 months ago)
  • 2444358
  • jmcaulif (My Site)
  • J Mack

Send me a message