Description
Inspired by a feature in WebStorm, I propose that support problem markers for tests failures.
Perhaps using our task system and customized problemMatchers, we can use the output of a task to create problem markers in the editor for the location of a test failure.
For example, the feature in WebStorm looks like the following:
cc @elaihau do you think it'd be possible?
I propose that support problem markers for tests failures.
are you referring to tests written with frameworks such as mocha ?
if so, i think it would be possible. and we will need different problem matchers & patterns for each and every framework.
also i am thinking there might be vscode extensions that do the job already. take this one for example, from the Test Explorer we could easily tell which tests are failing, and it goes to the failed test's log when the test is selected.
maybe we could try it as a plugin in Theia in near future ? if it does not have all the features you would like to have, we could try a few others, or add the features you like on top of an existing vscode extension.
I think Theia has all capabilities for it already, but it should be done by an external VS Code or Theia extension.
I'm always unsure about whether features should be implemented internally, by an external extension, or by a plugin but I agree with you both, if the feature already exists (is already implemented somehow), then we should simply use it.
Most helpful comment
are you referring to tests written with frameworks such as mocha ?
if so, i think it would be possible. and we will need different problem matchers & patterns for each and every framework.
also i am thinking there might be vscode extensions that do the job already. take this one for example, from the
Test Explorerwe could easily tell which tests are failing, and it goes to the failed test's log when the test is selected.maybe we could try it as a plugin in Theia in near future ? if it does not have all the features you would like to have, we could try a few others, or add the features you like on top of an existing vscode extension.