[qmtest] How do I load a custom test class

Mark Mitchell mark at codesourcery.com
Fri Dec 6 18:30:06 UTC 2002



--On Friday, December 06, 2002 12:29:09 PM -0600 Nicholas Hildenbrandt 
<hldnbrnd at uiuc.edu> wrote:

> I have a test class called SingleCTest in a file called singlesource.py.
> How do I get this test class to load into qmtest.  I have tried setting
> the QMTEST_CLASS_PATH environment variable to singlesource.py's path, and
> tried putting the file in lib/qm/qm/test/classes with the other files,
> but it still doesn't show up in the gui.  How are you supposed to load it?

Are you using QMTest 2.0?

If so, you should do:

  qmtest register test singesource.SingleCTest

If you're using QMTest 1.1.x, you should upgrade. :-)

Thanks,

-- 
Mark Mitchell                mark at codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com



More information about the qmtest mailing list