[py-dev] py.test from inside the python console

Fede Naum fede.naum at gmail.com
Wed Oct 7 08:21:32 CEST 2009

Hello, I did a search by subject in the py-dev Archives and could not found
any thread about that.
I guess it is because the documentation clearly say "py.test is a *command
line tool* to collect and run automated tests".

I'm using as it is for some integration test but now I want to use it to run
them from inside a python shell
Is there a way to run the autodiscovery + run the test + get the report from
inside a python console?

Why do I need that?
I need it because I have to do it from inside a special console (the python
console provided with Maya -
http://usa.autodesk.com/adsk/servlet/pc/index?siteID=123112&id=13577897) so
I do not have any command line environmet to run py.test

Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20091007/0906eb5c/attachment.html>

More information about the Pytest-dev mailing list