[TIP] REG: Changing standard test discovery

arun kali raja arunsep886 at gmail.com
Wed May 16 07:52:54 PDT 2018


The pytest page on changing test discovery
<https://docs.pytest.org/en/latest/example/pythoncollection.html>  has
information on how to ignoring a set of paths/testcases.

I want to do something reverse.. I have organised the tests in multiple
folders in terms of the codeArea  they cover.

If the user triggers tests of codeArea say 'X',  i have some identified
codeAreas 'Y' and 'Z' whose tests should also be executed.

How to achieve this in pytest?

Arun kaliraja.B
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20180516/10630a23/attachment.htm>

More information about the testing-in-python mailing list