[Avocado-devel] TestRunner API

Vincent Matossian vastinnocentaims at gmail.com
Thu May 26 18:39:21 UTC 2016


[more of an avocado-users than a devel question but this is the only list I
could find, sorry if I missed something]

Hopefully a quick question: what's the right way to invoke the test runner
programmatically rather than through the  "avocado run " CLI?

I've played with something like

import avocado
from sleeptest import SleepTest

avocado.Test.run(SleepTest())

but I haven't explored further to find out how to parametrize and get all
the goodies we get with the CLI options, is all this feasible?

Thanks!

Vincent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/avocado-devel/attachments/20160526/81576829/attachment.htm>


More information about the Avocado-devel mailing list