If on the command line Pytest is given directories from where to collect tests and also some individual files from some of these directories, then it appears that such directories are skipped and only those individual files are collected. I would expect a file specification to be just a duplicate in this case that should be filtered out and instead all files from its directory to be collected instead since the directory was specified in the first place.
If on the command line Pytest is given directories from where to collect tests and also some individual files from some of these directories, then it appears that such directories are skipped and only those individual files are collected. I would expect a file specification to be just a duplicate in this case that should be filtered out and instead all files from its directory to be collected instead since the directory was specified in the first place.