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

feat!: [junit] capture test case level out, error and attachments #136

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

codito
Copy link
Contributor

@codito codito commented Dec 17, 2024

In v5.x and later, system-out and system-err logs are reported at a per testcase element in the report. Because each test adapter determines to also emit the console output and errors at test suite level, there may be some duplication for the messages.

v4.x and earlier behavior

Prior to v5.x, console stdout and stderr was reported only in the system-out and system-err elements at testsuite level. This would concatenate messages from all test results and information messages from adapter.

To disable output in reports: see https://github.com/spekt/testlogger/blob/master/src/JUnit.Xml.Package/README.md#storeconsoleoutput.

Fixes spekt/junit.testlogger#71, spekt/junit.testlogger#41, spekt/junit.testlogger#40, #130

@codito codito changed the title Junit: test case level out, error and attachments feat!: [junit] capture test case level out, error and attachments Dec 17, 2024
@codito codito merged commit dff18d6 into spekt:master Dec 17, 2024
3 checks passed
@codito codito deleted the junit-attach branch December 17, 2024 15:38
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.

Gitlab Attachments with .NET - XML missing attachment markup
1 participant