more safe defaults for norecursedirs
#1978 exposed that some norecurse directories have a name that is very sane to use outside of a project root
this issue is pretty tricky to debug
we should evaluate more strict evaluation of those and allowing folder names like "build" and "dist" inside normal python packages
I just bumped into this issue after some relatively considerable time waste. I would suggest one of the below
- not ignoring anything by default
- still load tests from ignored directories and show them as skipped in the test report
- more explicitly logging when any directory is ignored
Ditto, this was very confusing to debug.
Can you please elaborate a bit on what exactly was the problem in your case? Was it build/ as well as outlined in #1978?
Yes, precisely that. For context, I'm working on a project which includes functionality for building other software, so naturally I put the tests for that in a directory named build to match the name of the directory that contains the implementation code.