vim-test icon indicating copy to clipboard operation
vim-test copied to clipboard

Any plans for test explorer?

Open WhiteBlackGoose opened this issue 3 years ago • 4 comments

Hi.

Are there any plans on making a test explorer out of this plugin? So that, you know, one could write and/or debug a specific test or selected tests, and the progress was visible.

WhiteBlackGoose avatar Sep 01 '22 20:09 WhiteBlackGoose

Do you have an example to illustrate what you mean?

codeinabox avatar Sep 08 '22 15:09 codeinabox

Sure. Basically it's an interface to interact with particular tests, to see which ones were successful/failed, and which were ran or not.

Here's a picture of what it looks like in Visual Studio:

image

WhiteBlackGoose avatar Sep 08 '22 15:09 WhiteBlackGoose

If you run TestSuite it will output the result of the whole test suite and in theory that data could be parsed and the user presented with an explorer though easier said than done. In some ways this overlaps with #691 as both involve parsing and processing the output of the tests.

Currently there are no plans to implement either as the focus of this plug-in is making it easy to run tests and how the output of the tests are displayed is very much up to the user based on what strategy is selected, however a strategy that presents a test explorer is a possibility.

codeinabox avatar Sep 08 '22 16:09 codeinabox

I would love such feature.

Fabian-programmer avatar Dec 24 '22 17:12 Fabian-programmer