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

Investigate if we can make a generic LSP test reporter that uses JSON to format the output. If not, then just implement one for Minitest and Test Unit #3176

Open
Tracked by #3170
vinistock opened this issue Feb 11, 2025 · 0 comments
Assignees

Comments

@vinistock
Copy link
Member

vinistock commented Feb 11, 2025

When running multiple tests as part of a single command, associating which output belongs to which test becomes challenging if all they're doing is printing unstructured messages to stdout.

We need to be able to report test runs using structure outputs, like JSON, so that we can know:

  • When a test started running
  • If a test was skipped, succeeded, failed or errored
  • When a test printed output

And we need to have a way to associate this information to the test item it belongs to.

Investigate if we can provide a generic JSON reporter to be used with all test frameworks. If there are substantial differences and we can't account for all frameworks, then implement the one for Minitest and Test Unit and try to see if there are bits that can be shared for add-ons.

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