The Artima Developer Community
Sponsored Link

SuiteRunner Forum
SRJ File Format

3 replies on 1 page. Most recent reply: May 23, 2003 8:47 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 3 replies on 1 page
Steve Dyson

Posts: 9
Nickname: stevedyson
Registered: Mar, 2003

SRJ File Format Posted: May 23, 2003 2:13 AM
Reply to this message Reply
Advertisement
Firstly, let me say that I have been running Suiterunner for several weeks and it seems to have the exact functionality that we require. It is non-intrussive, does not interfere with Log4J or LogFactor5, simple and a pleasure to use - thank you.

As I am add more test suites to me regression testing the line starting "org.suiterunner.Suites=" is getting longer & longer - I can envisage that it will soon be causing me a problem.

Is there anyway to split this line up so that each test suite appears on a separate line?

Alternatively do you have a suggestion of how to run a suite of regression tests?


Adam Duffy

Posts: 168
Nickname: adamduffy
Registered: Feb, 2003

Re: SRJ File Format Posted: May 23, 2003 2:18 AM
Reply to this message Reply
> Is there anyway to split this line up so that each test
> suite appears on a separate line?

Bill Venners has an ant task that has the ability to list out each suite as a seperate line but it's not part of the current code base. So ask him about that.

Alternatively, you can use sub-suites. Details on how to do that can be found in the how-to tutorials on the SuiteRunner page.

Adam

Bill Venners

Posts: 2284
Nickname: bv
Registered: Jan, 2002

Re: SRJ File Format Posted: May 23, 2003 8:29 AM
Reply to this message Reply
As Adam mentioned, what I usually do is create a single suite that contains all the suites in the test as subsuites. Then I have just one suite to run. The most straightforward way to do that is just add each suite explicitly as subsuites in the constructor of the ueber-suite. One article I want to write, though, is an article showing a suite that discovers suites in your test and adds them automatically. There are many ways to do that, so we won't support a standard way to do that in the API itself, but the example from that article will go into the distribution.

Adam Duffy

Posts: 168
Nickname: adamduffy
Registered: Feb, 2003

Re: SRJ File Format Posted: May 23, 2003 8:47 AM
Reply to this message Reply
Bill

I have developed something that does just what you described (i.e. automatically looking for suites in a package). Let me know if you want the code - it might save you a bit of work.

Adam

Flat View: This topic has 3 replies on 1 page
Topic: UnsupportedClassVersionError Previous Topic   Next Topic Topic: Does SuiteRunner support to set a timeout for a test?

Sponsored Links



Google
  Web Artima.com   

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