junitxml: Incorrect (?) file reported for inherited tests #9388
Labels
plugin: junitxml
related to the junitxml builtin plugin
topic: collection
related to the collection phase
type: question
general question, might be closed after 2 weeks of inactivity
When a class A inherits tests from a class B in another file, the test cases are reported as belonging to the file that houses class B.
Example:
I'm not sure if this is correct or not. In CircleCI, it prevents the "split tests by timing" feature from working correctly because it cannot find e.g.
example/test_something.py
in the XML doc. Is this intended? Is there a better method for inheriting tests?The text was updated successfully, but these errors were encountered: