Skip to content

Test decorators do not guarantee a test will run

Even if the @spectest or @required_spectest decorators are used, the test won't run unless the function name is prefixed by test_. Although this is default unittest behaviour, it could be enhanced by the custom runner to run any function marked by the decorators. A disadvantage would be incompatibility with the unittest module.