Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the ability to write junit test results file for pytest runs.
Problem With the transition of pytest to the v2 engine, we lost the ability to write junit-xml results files when test runs. This can't be solved by passing options thru directly to pytest since it expect a junit-xml result file name, which means we need a unique name for each target. Solution Introduce the ability to calculate the junit-xml file name based on a user provided direcotry (option) and the test target name. Result JUnit xml result files which can be processed by CI (CircleCI for example) so failing test can be seen w/o digging thru endless logs.
- Loading branch information
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters