Configure the junit_family option explicitly in pytest.ini
This commit is contained in:
parent
6f765fb0b8
commit
7452015525
|
@ -6,6 +6,9 @@ addopts = --capture=no --ignore conftest.py -p no:cacheprovider
|
|||
# Ignore warnings such as DeprecationWarning and pytest.PytestUnknownMarkWarning
|
||||
filterwarnings = ignore::pytest.PytestWarning
|
||||
|
||||
# Configure the junit_family option explicitly:
|
||||
junit_family = legacy
|
||||
|
||||
# Set pytest discovery rules:
|
||||
# (Most of the rules here are similar to the default rules.)
|
||||
# (unittest.TestCase rules override the rules here for classes and functions.)
|
||||
|
|
|
@ -55,6 +55,7 @@ def main():
|
|||
data.append("addopts = --capture=no --ignore conftest.py "
|
||||
"-p no:cacheprovider")
|
||||
data.append("filterwarnings = ignore::pytest.PytestWarning")
|
||||
data.append("junit_family = legacy")
|
||||
data.append("python_files = test_*.py *_test.py *_tests.py *_suite.py")
|
||||
data.append("python_classes = Test* *Test* *Test *Tests *Suite")
|
||||
data.append("python_functions = test_*")
|
||||
|
|
Loading…
Reference in New Issue