We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5c654d0 + a8cf8a1 commit aa0baf6Copy full SHA for aa0baf6
1 file changed
python_pytest/pytest_shim.py
@@ -9,6 +9,9 @@
9
if __name__ == "__main__":
10
pytest_args = ["--ignore=external"]
11
12
+ if os.environ.get("XML_OUTPUT_FILE"):
13
+ pytest_args.append("--junitxml={xml_output_file}".format(xml_output_file=os.environ.get("XML_OUTPUT_FILE")))
14
+
15
if os.environ.get("TESTBRIDGE_TEST_ONLY"):
16
# TestClass.test_fn -> TestClass::test_fn
17
module_name = os.environ.get("TESTBRIDGE_TEST_ONLY").replace(".", "::")
0 commit comments