I've just released a first experimental version of pytest-xprocess, version 0.7. It makes managing processes _across_ test runs easy. If you have a mysql, postgres, redis, etc. database or any other service that you like to start and initialize for your tests then you can use the plugin to keep this process alive, or to kill it.
Moreover, any failing test will show the logfile lines that were written during the execution of the test. See https://pypi.python.org/pypi/pytest-xprocess/ for some more info. I've used this pattern myself to manage a test couchdb instance including basic initialization to avoid the overhead of starting it for new test runs. It works for my current usage but it's not very widely tested yet. Consider it alpha. cheers, holger _______________________________________________ Pytest-dev mailing list [email protected] http://mail.python.org/mailman/listinfo/pytest-dev
