[qmtest] Writing test classes
Mark Mitchell
mark at codesourcery.com
Mon Jul 29 16:55:35 UTC 2002
--On Wednesday, July 24, 2002 09:12:15 AM +0200 Andrej Jamsek
<andrej.jamsek at hermes.si> wrote:
>
> Hello everybody.
> I'm a begginer with QmTest and python. I want to write one test case with
> python class and I don't know how. I was looking into documentation, but
> I do not understand (I think) the most important part. I write my class,
> which inherit Test class, but when I want to import TEST modul I got
> message that TEST modul do not has Test attribute. I have TEST module in
> path therefore python can find it.
I suggest you start by copying:
/usr/local/lib/qm/qm/test/classes/python.py
and inserting your class in there. That's a good template for how to
write a QMTest test class.
Yours,
--
Mark Mitchell mark at codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the qmtest
mailing list