Re: [pytest-dev] How to exclude packages/directories from py.test?

2013-09-05 Thread Yang Zhang
Right, and we do use that already, but short of programmatically generating a list of all the packages except those that I want to exclude (given a fairly sprawling codebase), I was just wondering if there was a cleaner approach—if not, consider this a feature request! On Thu, Sep 5, 2013 at 2:55

Re: [pytest-dev] How to exclude packages/directories from py.test?

2013-09-05 Thread holger krekel
On Wed, Sep 04, 2013 at 17:03 -0700, Yang Zhang wrote: > You can use -k to filter out tests following a certain name > pattern/predicate, but can you filter out tests under a certain > package or directory? Didn't spot any relevant flags in the > documentation but perhaps I'm missing something. Th

Re: [pytest-dev] How to exclude packages/directories from py.test?

2013-09-05 Thread holger krekel
On Thu, Sep 05, 2013 at 02:58 -0700, Yang Zhang wrote: > Right, and we do use that already, but short of programmatically > generating a list of all the packages except those that I want to > exclude (given a fairly sprawling codebase), I was just wondering if > there was a cleaner approach—if not,