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

Output containing testlogger tags can interfere with the produced logs #123

Closed
radarsh opened this issue Jun 5, 2019 · 0 comments · Fixed by #128
Closed

Output containing testlogger tags can interfere with the produced logs #123

radarsh opened this issue Jun 5, 2019 · 0 comments · Fixed by #128

Comments

@radarsh
Copy link
Owner

radarsh commented Jun 5, 2019

If the raw output of a test contains internal testlogger tags (such as [red], [bold], [/], etc, it gets interpreted as actual tags and will be processed.

For example, a Spring Boot app logs

08:29:38.574 I - o.s.b.w.s.ServletRegistrationBean Servlet dispatcherServlet mapped to [/]

Which gets rendered as

image

Because [/] is interpreted as the ANSI reset command by testlogger.

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 a pull request may close this issue.

1 participant