8000 Report error messages to sbt events which end up in JUnit XML by joroKr21 · Pull Request #6387 · zio/zio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Report error messages to sbt events which end up in JUnit XML #6387

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

Merged
merged 1 commit into from
Feb 24, 2022

Conversation

joroKr21
Copy link
Contributor

This is a quick and dirty solution reusing DefaultTestReporter
and subsequently stripping the ANSI colors from the result.

A more elegant solution would involve writing a new reporter,
or adding an option to render without colors to DefaultTestReporter,
but this is probably a major issue for anyone running ZIO test in CI,
so I think the quick win is worth it.

Closes #4803

This is a quick and dirty solution reusing `DefaultTestReporter`
and subsequently stripping the ANSI colors from the result.

A more elegant solution would involve writing a new reporter,
or adding an option to render without colors to `DefaultTestReporter`,
but this is probably a major issue for anyone running ZIO test in CI,
so I think the quick win is worth it.
@adamgfraser adamgfraser merged commit b9341e7 into zio:master Feb 24, 2022
@joroKr21 joroKr21 deleted the junit-errors branch February 24, 2022 19:34
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.

ZIO Test: Include duration and failure message in junit test report
2 participants
0