-
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
Add metadata to TestCase #35
Add metadata to TestCase #35
Conversation
I started the TestNG implementation for mapping The mapping should be trivial: iterate over the groups and build a const rawClasses = rawTest.class;
for (let j = 0; j < rawClasses.length; j++) {
rawTestMethods.push(...rawClasses[j]['test-method'].filter(raw => !raw['@_is-config']));
} I also wasn't sure which tests were exercising the Any suggestions? |
I was able to address the testng issue by propagating the className into the test-method for easy retrieval. |
@bryanbcook Thank you for your comprehensive research on all the test result formats. Contributions like yours will make our project stronger and more reliable. |
48e8435
to
4c16a43
Compare
add support for key/value tags
rawTags.push(rawTag); | ||
} | ||
test_case.meta_data.set("tags", tags.join(",")); | ||
test_case.meta_data.set("tagsRaw", rawTags.join(",")); |
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.
@ASaiAnudeep - what are your thoughts on preserving the original tags?
If you're ok with this, please use the 'squash and merge' option when completing the pull-request. |
This PR introduces a meta_data property to TestCase as outlined in proposal #34
All existing unit tests have been updated to support the new property.