[pytest-dev] [wishlist] handling reuse of pytest plugins outside of pytest

Ronny Pfannschmidt rpfannsc at redhat.com
Thu Sep 8 02:00:13 EDT 2016


agin after accidential off-list:

A simple non code example would be using fixtures based on pytest-selenium
in a ipython session without running a test

2016-09-07 21:22 GMT+02:00 Bruno Oliveira <nicoddemus at gmail.com>:

> Hey Ronny,
>
> Can you provide some examples of what you would like to accomplish? At
> least to me your email is a little vague and I wouldn't know where to start
> discussion about it...
>
> On Wed, Sep 7, 2016 at 10:47 AM Ronny Pfannschmidt <rpfannsc at redhat.com>
> wrote:
>
>> Hi,
>>
>> recently i am starting to very painfully hit a massive wall
>> which is trying to use pytest integrated functionality outside of a test
>> run
>>
>> the inability to use them in some way is pretty much actively holding me
>> back
>> from running test helpers in ipython sessions & co
>>
>> at work we work around that by the means of having global instead of
>> using fixtures
>> and by re-implementing functionality and the using it both in fixtures
>> and in
>>
>> however we would like to get rid of that in some way
>>
>> but with the current constraints of being unable to use anything outside
>> of a test run we are pretty much forced to keep own implementations of
>> plugins like
>> pytest-baseurl. pytest-selenium, pytest-variables and more
>>
>>
>> -- Ronny
>>
>> --
>>
>> Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn,
>> Commercial register: Amtsgericht Muenchen, HRB 153243,
>> Managing Directors: Charles Cachera, Michael Cunningham, Michael O'Neill, Eric Shander
>>
>> _______________________________________________
>> pytest-dev mailing list
>> pytest-dev at python.org
>> https://mail.python.org/mailman/listinfo/pytest-dev
>>
>


-- 

Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael
O'Neill, Eric Shander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20160908/b76f222c/attachment.html>


More information about the pytest-dev mailing list