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

Add OmitSuiteSetupNodes to JunitReportConfig #1147

Merged
merged 2 commits into from
Feb 25, 2023

Conversation

liornoy
Copy link
Contributor

@liornoy liornoy commented Feb 23, 2023

This PR adds a new option to the JunitReportConfig that when enabled prevents the creation of
testcase entries for setup nodes in the JUnit report.

fix #1145

This commit adds a new option to the JunitReportConfig that when
enabled prevents the creation of testcase entries for setup nodes
in the JUnit report.

fix onsi#1145
Added a dummy BeforeSuite spec to validate that with the
new OmitSuiteSetupNodes option, the generated JUnit report is
omitting this spec and not displaying it as one of the testcases.

fix onsi#1145
@onsi
Copy link
Owner

onsi commented Feb 25, 2023

thanks! this LGTM and i'll merge it in once CI finishes

@onsi onsi merged commit 979fbc2 into onsi:master Feb 25, 2023
@onsi
Copy link
Owner

onsi commented Feb 25, 2023

merged! i should be cutting a release that includes this sometime next week.

@liornoy liornoy deleted the add-omitsuitesetupnodes branch February 27, 2023 07:57
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.

Add new option to JunitReportConfig
2 participants