|
|
Re: Embeddable Runner
|
Posted: May 20, 2003 9:20 PM
|
|
> 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.)
|
|