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

Colored output in the Test Results view #16

Open
pintert3 opened this issue Mar 21, 2024 · 2 comments
Open

Colored output in the Test Results view #16

pintert3 opened this issue Mar 21, 2024 · 2 comments

Comments

@pintert3
Copy link

Can we have colored output in the test results view like it now is with pytest for python? It would help a lot with looking for failed tests through the muddy logs.

@jakobjung10
Copy link
Collaborator

jakobjung10 commented Mar 28, 2024

In the code, VUnit is called with the --no-color option.
This simplifies parsing the output from VUnit.
By default, VUnit provides a colored output. As a result, the colored output contains special characters for displaying the colors.
Hypothetically, it would be possible to pass the original output to the test results by omitting --no-color.
For parsing the actual output (testcase PASSED|FAILED...), the output must be filtered to discard the special characters.

@pintert3
Copy link
Author

pintert3 commented Apr 6, 2024

If it's only a parsing challenge on the fail/pass, then it seems worth a try. I could help but developing and testing extensions looks like it needs its own whole weekend to burn.

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

No branches or pull requests

2 participants