The Artima Developer Community
Sponsored Link

SuiteRunner Forum
Embeddable Runner

2 replies on 1 page. Most recent reply: May 20, 2003 9:20 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
Jason van Zyl

Posts: 2
Nickname: jvz
Registered: Mar, 2003

Embeddable Runner Posted: May 4, 2003 7:55 PM
Reply to this message Reply
Advertisement
Howdy,

It seems that trying to make an embeddable runner is not possible given the current scoping of the classes. Everything looks package protected.

I just want to create a simple bean essentially where I can set some properties, hand it an initial suite and execute the suite.

If this is not possible would anyone mind if I make this possible? A simple bean would work for an ant task and for what I want which is to make an embedded runner for Maven.


Adam Duffy

Posts: 168
Nickname: adamduffy
Registered: Feb, 2003

Re: Embeddable Runner Posted: May 16, 2003 2:43 AM
Reply to this message Reply
My advice would be to go ahead with any improvements you want and submit them to Bill Venners and see what he thinks. From my personal experience, he appreciates all contributions to SuiteRunner.

You can find details on downloading SuiteRunner from CVS at
http://sourceforge.net/cvs/?group_id=72137

Adam

Bill Venners

Posts: 2284
Nickname: bv
Registered: Jan, 2002

Re: Embeddable Runner Posted: May 20, 2003 9:20 PM
Reply to this message Reply
> Howdy,
>
> It seems that trying to make an embeddable runner is not
> possible given the current scoping of the classes.
> Everything looks package protected.
>
You're right. Right now you have to call main. I do think it is important to expose API hooks into Runner's functionality, but I didn't want to expose anything in the public API until I was sure I knew what people wanted.

> I just want to create a simple bean essentially where I
> can set some properties, hand it an initial suite and
> execute the suite.
>
> If this is not possible would anyone mind if I make this
> possible? A simple bean would work for an ant task and for
> what I want which is to make an embedded runner for Maven.

Please go ahead and make whatever changes you feel you need, and let us know what you did. That will help us decide what to expose in Runner's public interface. (I'm figuring that we'll want to provide several run methods, but what parameters? Suite class names or instances. Reporter class names or instances? And so on.)

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

Sponsored Links



Google
  Web Artima.com   

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