-
Notifications
You must be signed in to change notification settings - Fork 110
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
feat: Allow adding <properties>
to <testcase>
#247
feat: Allow adding <properties>
to <testcase>
#247
Conversation
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.
It works correctly!
Hello @palmerj3, Could You please review this pull request? |
@SimenB, Could You please review this pull request? |
Looks great! Sorry for the delay in reviewing. Work has been very busy lately. |
This has now been published in jest-junit v16 https://github.com/jest-community/jest-junit/releases/tag/v16.0.0 |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [jest-junit](https://togithub.com/jest-community/jest-junit) | [`15.0.0` -> `16.0.0`](https://renovatebot.com/diffs/npm/jest-junit/15.0.0/16.0.0) | [![age](https://badges.renovateapi.com/packages/npm/jest-junit/16.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/jest-junit/16.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/jest-junit/16.0.0/compatibility-slim/15.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/jest-junit/16.0.0/confidence-slim/15.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>jest-community/jest-junit</summary> ### [`v16.0.0`](https://togithub.com/jest-community/jest-junit/releases/tag/v16.0.0) [Compare Source](https://togithub.com/jest-community/jest-junit/compare/v15.0.0...v16.0.0) Allow adding properties to testcases in junit output by [@​eps1lon](https://togithub.com/eps1lon) - [https://github.com/jest-community/jest-junit/pull/247](https://togithub.com/jest-community/jest-junit/pull/247) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/apollographql/apollo-server). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS40MC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNDAuMCJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [jest-junit](https://togithub.com/jest-community/jest-junit) | [`15.0.0` -> `16.0.0`](https://renovatebot.com/diffs/npm/jest-junit/15.0.0/16.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/jest-junit/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/jest-junit/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/jest-junit/15.0.0/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/jest-junit/15.0.0/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>jest-community/jest-junit (jest-junit)</summary> ### [`v16.0.0`](https://togithub.com/jest-community/jest-junit/releases/tag/v16.0.0) [Compare Source](https://togithub.com/jest-community/jest-junit/compare/v15.0.0...v16.0.0) Allow adding properties to testcases in junit output by [@​eps1lon](https://togithub.com/eps1lon) - [https://github.com/jest-community/jest-junit/pull/247](https://togithub.com/jest-community/jest-junit/pull/247) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/kinguru-io/kinguru-monorepo).
Closes #246
Create a file in your project root directory named junitTestCaseProperties.js:
Will render
WARNING: Properties for testcases is not following standard JUnit XML schema.
However, other consumers may support properties for testcases like DataDog metadata through
<property>
elements