This is a complete replacement for SimpleTestDiscovery.
Now tests will be searched inside AST-representation of test files. Test files are files that are starting or ending with test_ or tests_.
Preliminary testing shows full compatibility between previous protocols
One caveat, I cannot find classes, deeply inherited from TestCase, and for that optional deep-inheritance parameter is introduced. Do not use it, better to call class Test{...} or {...}Test; This way it will be discovered;
This is a complete replacement for SimpleTestDiscovery.
Now tests will be searched inside AST-representation of test files. Test files are files that are starting or ending with
test_
ortests_
.Preliminary testing shows full compatibility between previous protocols
One caveat, I cannot find classes, deeply inherited from TestCase, and for that optional
deep-inheritance
parameter is introduced. Do not use it, better to call classTest{...}
or{...}Test
; This way it will be discovered;