The Artima Developer Community
Sponsored Link

SuiteRunner Forum
Does SuiteRunner support to set a timeout for a test?

2 replies on 1 page. Most recent reply: May 20, 2003 9:22 PM by Bill Venners

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Jane

Posts: 1
Nickname: jane
Registered: Mar, 2003

Does SuiteRunner support to set a timeout for a test? Posted: May 15, 2003 2:27 AM
Reply to this message Reply
Advertisement
Does SuiteRunner support to set a timeout for a test?
I met a problem that a test got into a infinite loop,
so other test cases can't be run.


Adam Duffy

Posts: 168
Nickname: adamduffy
Registered: Feb, 2003

Re: Does SuiteRunner support to set a timeout for a test? Posted: May 16, 2003 2:38 AM
Reply to this message Reply
To my knowledge SuiteRunner does not support setting timeouts for tests. Perhaps Bill Venners will consider it for future releases.

Adam

Bill Venners

Posts: 2284
Nickname: bv
Registered: Jan, 2002

Re: Does SuiteRunner support to set a timeout for a test? Posted: May 20, 2003 9:22 PM
Reply to this message Reply
SuiteRunner doesn't support a timeouts for tests, and I don't see that this is something that would be a general enough utility to be included in SuiteRunner itself. You can create a Suite and override one or more execute methods to support timeouts, though I question whether that's worth the investment in time. Are not infinite loops bugs in tests that probably don't happen that often and need to be fixed anyway?

Flat View: This topic has 2 replies on 1 page
Topic: SRJ File Format Previous Topic   Next Topic Topic: Embeddable Runner

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use