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

QoL: Add additional info/context for test failure message #88

Open
Xiaoy312 opened this issue Apr 5, 2023 · 1 comment
Open

QoL: Add additional info/context for test failure message #88

Xiaoy312 opened this issue Apr 5, 2023 · 1 comment
Labels
kind/contributor-experience Categorizes issue or PR as related to improving the experience of contributors kind/enhancement New feature or request. kind/maintainer-experience Categorizes issue or PR as related to improving the experience of maintainers triage/untriaged Indicates an issue requires triaging or verification.

Comments

@Xiaoy312
Copy link
Contributor

Xiaoy312 commented Apr 5, 2023

What would you like to be added:

Some way to writing to a string buffer that will be included when the test fail. This message should be included in the ci error report and in the output area of the test runner.

Why is this needed:

This could be used to add additional info/context for debugging. Also, it is annoying to add message with full context to every assert method.

For which Platform: All of them

Anything else we need to know?

Sort of what is done in unoplatform/uno#2804, but from the test impl side.
SO answer says that we could use Trace.WriteLine(). To validate if this will appear on ci. If so, we could add listener to it to pipe to the test runner's output area.

@Xiaoy312 Xiaoy312 added kind/contributor-experience Categorizes issue or PR as related to improving the experience of contributors kind/enhancement New feature or request. kind/maintainer-experience Categorizes issue or PR as related to improving the experience of maintainers triage/untriaged Indicates an issue requires triaging or verification. labels Apr 5, 2023
@Xiaoy312 Xiaoy312 changed the title qol: Add additional info/context for test failure message QoL: Add additional info/context for test failure message Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/contributor-experience Categorizes issue or PR as related to improving the experience of contributors kind/enhancement New feature or request. kind/maintainer-experience Categorizes issue or PR as related to improving the experience of maintainers triage/untriaged Indicates an issue requires triaging or verification.
Projects
None yet
Development

No branches or pull requests

1 participant