[pytest-dev] pytest, or pytest plug-in dogfooding

Floris Bruynooghe flub at devork.be
Tue Mar 31 17:04:24 CEST 2015


Hi Tibor,

On 31 March 2015 at 15:20, Tibor Arpas <tibor.arpas at infinit.sk> wrote:

> is it difficult to set-up development environment for hacking on
> pytest itself or a plug-in where you use a stable version as a test
> runner but the code under test is a different one?
>

Not really, assuming your current working directory is the plugin's:

- Create and activate a new virtualenv
- pip install pytest
- pip install -e .

For py.test itself you just need to install pytest itself as editable using
pip.  If in doubt see the CONTRIBUTING.rst file included with py.test.

Regards,
Floris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20150331/011f9a30/attachment.html>


More information about the pytest-dev mailing list