Hi,
Rerunning a specific python test file is possible, though it takes few
manual steps. Take a look at [1].
With regard to the debugger, it is possible to run the tests without
'lago ovirt runtest' commands at all, directly with Lago as a Python
library, though it isn't fully used in OST. Basically you would have
to export the same environment variables as described in [1], and then
use the same imports and decorators as found in OST(mainly the
testlib.with_ovirt_prefix decorator), with that in hand you can call
the python file however you'd like.
Of course this is all good for debugging, but less for OST(as you need
the suite logic: log collections, order of tests, etc).
[1]
http://lists.ovirt.org/pipermail/lago-devel/20170402/000650.html
On Thu, Sep 14, 2017 at 8:59 PM, Marc Young <3vilpenguin(a)gmail.com> wrote:
Is it possible to run a specific scenario without having to run back
through
spin up/tear down?
I want to rapidly debug a `test-scenarios/00#_something.py` and the
bootstrap scripts (001,002) take a really long time.
Also is it possible to attach to a debugger within the test-scenario with
pdb? I didnt have luck and it looks like its abstracted away and not
executed as a regular python file in a way that i can get to an interactive
debugger
_______________________________________________
Devel mailing list
Devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel