-
Notifications
You must be signed in to change notification settings - Fork 9
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
[custom_junit] Add config options via ini file and env var #160
base: master
Are you sure you want to change the base?
[custom_junit] Add config options via ini file and env var #160
Conversation
3f2c8a5
to
3e2d68f
Compare
The foloowing options are added: * test_case_prefix * classname
3e2d68f
to
dc336b8
Compare
type: notification | ||
short_description: TODO | ||
description: | ||
TODO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
custom_junit generates an XML file that polarion can read.
Only the tasks marked with $test_case_prefix are reported.
The first line of the task name (excluding the prefix) is converted to snake_case, and this becomes the testcase name in the results file.
|
||
# Custom environment variable handling | ||
# Update this to parse these values from the config file, as well as the env. | ||
self._output_dir = os.path.expanduser("~/.ansible.log") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should also be configurable, so we could point it at the expect logs dir in zuul jobs.
Depends-On: #132