[pytest-dev] Configurable collection roots and reusable testsuites - Brainstorming

Ionel Cristian Mărieș contact at ionelmc.ro
Mon Jan 25 03:03:11 EST 2016


I think I'm the evil mastermind behind
<https://twitter.com/ossronny/status/688385835037777920> that idea. It's
about collecting from places that cannot be represented as path arguments
to `py.test`, like a runtime-defined place (a basic example would be if you
want to collect something from site-packages).


Thanks,
-- Ionel Cristian Mărieș, http://blog.ionelmc.ro

On Mon, Jan 25, 2016 at 7:57 AM, Florian Bruhin <me at the-compiler.org> wrote:

> Hey,
>
> * Bruno Oliveira <nicoddemus at gmail.com> [2016-01-25 00:22:26 +0000]:
> > About reusable test suites, what I have done is to put the required
> > tests/checks into fixtures or even classes which are importable across
> > projects and reused there. Could you provide a more specific example of
> the
> > problem you see?
> >
> > About the collection roots, I also didn't quite get what you mean... I
> > think some examples would also be helpful. :)
>
> I read Ronny's mail before my first coffee, then again after it.
>
> Unfortunately I didn't really understand it either, even after the
> coffee :P
>
> Florian
>
> --
> http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
>    GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
>          I love long mails! | http://email.is-not-s.ms/
>
> _______________________________________________
> pytest-dev mailing list
> pytest-dev at python.org
> https://mail.python.org/mailman/listinfo/pytest-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20160125/b4c120c9/attachment-0001.html>


More information about the pytest-dev mailing list