[qmtest] resource extension classes

eichin at metacarta.com eichin at metacarta.com
Tue Jan 18 05:11:36 UTC 2005


> methods.  I was able to register it without problems, but it doesn't
> show up in the Resource drop down when I try to add/edit tests.  The

Do you have an "arguments" list member of your derived class?  That's
used for the UI components, and I think you have to have it (possibly
empty, or with computed=true values for things you're replacing...) in
order to see it in the webui.

> they could share on how resources should spawn executables on SetUp()
> and reap them on CleanUp()?  Is there any QMTest or Python classes to

If they're local, you could just stash the pid in self, and then
kill it in CleanUp.  (I do a lot of stuff where setup ssh'es to
another machine and runs "scriptname args start" and CleanUp just runs
"scriptname args stop", and the script just stashes the pid on the
System Under Test.)
			_Mark_ <eichin at metacarta.com>

(ps. Hi! :-)



More information about the qmtest mailing list