On Mon, 21 May 2001, Scott Sanders wrote:

> Craig or anyone else,
> 
> I am creating a test framework using JUnit, XMLUnit, HTTPUnit, and 
> Digester.  I have the basics set up, but I have one problem.  How do set up 
> an ObjectCreate with a constructor parameter?
> 
> junit.framework.TestCase takes a String in the constructor, and I would 
> like to emulate that.  How do I?
> 
> Or do I have to set up an empty constructor, and then add a setName()?
> 

That's probably the best way.  The object you create will probably have to
be a facade around the real test case, because you won't be able to
instantiate that until you know what the name is.

By the way, I'm building some basic unit tests for Digester at the moment
also.

> Thanks,
> Scott Sanders
> 
> 

Craig


Reply via email to