The Artima Developer Community
Sponsored Link

SuiteRunner Forum
SuiteRunner Test Suceeded Message

6 replies on 1 page. Most recent reply: Jun 6, 2003 2:21 AM by Adam Duffy

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 6 replies on 1 page
Steve Dyson

Posts: 9
Nickname: stevedyson
Registered: Mar, 2003

SuiteRunner Test Suceeded Message Posted: May 22, 2003 3:15 AM
Reply to this message Reply
Advertisement
After running a (simple) test program that failed I choose to display all messages - and the following were displayed...

* Run Starting
* Suite Starting - UtilsTestSuite
* Test Starting - UtilsTestSuite.testFileCopy()
* Test Failed - UtilsTestSuite.testFileCopy()
* Test Suceeded - UtilsTestSuite.testFileCopy()
* Suite Completed - UtilsTestSuite
* Run Completed

Is the "* Test Suceeded" line displayed in error?


Steve Dyson

Posts: 9
Nickname: stevedyson
Registered: Mar, 2003

Re: SuiteRunner Test Suceeded Message Posted: May 23, 2003 2:20 AM
Reply to this message Reply
PLEASE IGNORE THIS THREAD - A message was posted by Andrew Matthews on Mar 19. I should have scanned the forum first!!!

Adam Duffy

Posts: 168
Nickname: adamduffy
Registered: Feb, 2003

Re: SuiteRunner Test Suceeded Message Posted: May 23, 2003 2:29 AM
Reply to this message Reply
> Is the "* Test Suceeded" line displayed in error?

The Test Succeeded line is always called. The only time it isn't call is when the setup or tear down methods throw an exception. If the test throws an exception then it runs the tear down method - to clean up after itself. Hence the appearance of Test Failed line followed by Test Succeeded when the test fails but the tear down method runs okay.

I suspect that this is an error of logic but it's Bill Venners' call.

Adam

Adam Duffy

Posts: 168
Nickname: adamduffy
Registered: Feb, 2003

Re: SuiteRunner Test Suceeded Message Posted: May 23, 2003 2:30 AM
Reply to this message Reply
Oops. Ignore previous posting.

Bill Venners

Posts: 2284
Nickname: bv
Registered: Jan, 2002

Re: SuiteRunner Test Suceeded Message Posted: May 23, 2003 8:26 AM
Reply to this message Reply
Yes it is a bug. Sorry I haven't fixed it yet. I was planning on pushing out a new release every week or two until I got to 1.0, but then had the idea to add weblogs to Artima.com. I am now in the process of creating an RSS aggregator to add to Artima.com too, so SuiteRunner has taken a back seat. I will return to it soon, though. I am very excited about the enhancements that we've decided to put in.

Steve Dyson

Posts: 9
Nickname: stevedyson
Registered: Mar, 2003

Re: SuiteRunner Test Suceeded Message Posted: Jun 4, 2003 8:20 AM
Reply to this message Reply
> ... I will return to it soon, though. I am
> very excited about the enhancements that we've decided to
> put in.

What enhancements are these? (Are they documented anywhere)?

Adam Duffy

Posts: 168
Nickname: adamduffy
Registered: Feb, 2003

Re: SuiteRunner Test Suceeded Message Posted: Jun 6, 2003 2:21 AM
Reply to this message Reply
Bill mentioned some future enhancements in the following thread

http://www.artima.com/forums/flat.jsp?forum=61&thread=4302

Adam

Flat View: This topic has 6 replies on 1 page
Topic: Automatically calling a SRJ File Previous Topic   Next Topic Topic: UnsupportedClassVersionError

Sponsored Links



Google
  Web Artima.com   

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