Skip to content

fix: update result structure to use 'name' instead of 'suitename' in JUnit output#6120

Merged
bijin-bruno merged 2 commits intousebruno:mainfrom
abhishek-bruno:fix/junit-report-testsuite-name-change
Nov 18, 2025
Merged

fix: update result structure to use 'name' instead of 'suitename' in JUnit output#6120
bijin-bruno merged 2 commits intousebruno:mainfrom
abhishek-bruno:fix/junit-report-testsuite-name-change

Conversation

@abhishek-bruno
Copy link
Member

@abhishek-bruno abhishek-bruno commented Nov 17, 2025

Description

Correct naming in JUnit output 'testsuite' tag to ensure consistency with enterprise edition.
JIRA

Contribution Checklist:

  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.

Publishing to New Package Managers

Please see here for more information.

// Replace execution times with fixed value
.replace(/time="[^"]*"/g, 'time="0.100"')
// Replace file paths with normalized path
.replace(/name="[^"]*\/[^"]*"/g, 'name="/test/path/collection"');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can keep the regex to support windows path with backslash

@bijin-bruno bijin-bruno merged commit 2ac4180 into usebruno:main Nov 18, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants