nose-devs / nose

nose is nicer testing for python
http://readthedocs.org/docs/nose/en/latest/
1.36k stars 396 forks source link

Directories starting by an underscore are not explored #1021

Open sciunto opened 7 years ago

sciunto commented 7 years ago

Hi,

This issue comes from this discussion: https://stackoverflow.com/questions/23615924/nosetests-discover-code-in-test-folder and also an issue we have in a project: https://github.com/scikit-image/scikit-image/issues/2127

Basically, directories starting by an underscore are not explored and it appears that this is hardcoded in nose, but probably unattended. Is it something that can be fixed in a near future?

Thanks!

jszakmeister commented 7 years ago

Not likely. For one, Nose is unmaintained at this point. You should look to Nose2 as the future of Nose. Secondly, changing it could break things for existing projects (because now stuff is being collected that was previously being ignored).

sciunto commented 7 years ago

Thanks for your quick reply @jszakmeister !