Commit 76bdb10c authored by James Heimbuck's avatar James Heimbuck Committed by Marcel Amirault

Add python example to junit docs

parent 5ff4d045
...@@ -151,6 +151,21 @@ java: ...@@ -151,6 +151,21 @@ java:
- target/failsafe-reports/TEST-*.xml - target/failsafe-reports/TEST-*.xml
``` ```
### Python example
This example uses pytest with the `--junitxml=report.xml` flag to format the output
for JUnit:
```yaml
pytest:
stage: test
script:
- pytest --junitxml=report.xml
artifacts:
reports:
junit: report.xml
```
### C/C++ example ### C/C++ example
There are a few tools that can produce JUnit reports in C/C++. There are a few tools that can produce JUnit reports in C/C++.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment