We use nose to discover tests and run them. All the tests are written in TestCase compatible way so any test runner can run the. Problem is we have some directo
TestCase
Perhaps not what the OP asked for, but I found this tidbit from the nose docs useful to exclude a file from consideration:
If an object defines a __test__ attribute that does not evaluate to True, that object will not be collected, nor will any objects it contains.
__test__