[qmtest] how to set up resources for tests

Stefan Seefeld seefeld at sympatico.ca
Mon Aug 16 02:35:11 UTC 2004


Hi Mark,

Mark Mitchell wrote:

> A resource is definitely what you want here.  The documentation is a bit 
> lacking, but a resource class is very much like a test class.    The 
> temporary.TempDirectoryResource class that comes with QMTest is a good 
> example of a resource class.

That's good to know, thanks. Subclassing a Resource to compile me
test applet looks simple enough. My question was more aimed at how
to declare (to the database / test classes) this resource as a
dependency. (I'm using my own database / test classes, so I'd like
to know the API, not any GUI / xml way to do it).

Thanks,
		Stefan





More information about the qmtest mailing list