Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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