Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes and features on the JUnit Python conversion script #594

Merged
merged 1 commit into from
Nov 13, 2022

Conversation

LeoSebal
Copy link

  • Renamed the script unity_to_junit.py as stylize_as_junit.py to match the Ruby file
  • Resolves unity_to_junit.py produces an empty result.txt #590 by making the file name optional in test results. File name falls back to current test name.
  • Rewrote the argument parsing to use argparse
  • Added a --output / -o option, to match the Ruby file
  • Added python3 shebang

* Added python3 shebang
* Renamed the script `unity_to_junit.py` as `stylize_as_junit.py`
  to match the Ruby file
* Fixed a bug on where the script failed if the first entry slot of
  each result line is empty. Now falls back to the result file name
* Rewrote the argument parsing to use argparse
* Added a `--output` / `-o` option, to match the Ruby file
@mvandervoord mvandervoord merged commit 303e6ec into ThrowTheSwitch:master Nov 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unity_to_junit.py produces an empty result.txt
3 participants