elm-language-client-vscode icon indicating copy to clipboard operation
elm-language-client-vscode copied to clipboard

Prepare for native test explorer

Open razzeee opened this issue 4 years ago • 6 comments

Vscodes native test explorer is coming up in one of the next versions. Our migration path is likely going to be via https://marketplace.visualstudio.com/items?itemName=ms-vscode.test-adapter-converter

See: https://code.visualstudio.com/updates/v1_56#_testing

razzeee avatar May 06 '21 15:05 razzeee

Anything to be done in this project if we use the converter extension? Migration is only needed if we switch to the native API.

l2dy avatar Sep 11 '21 17:09 l2dy

I don't think we need to do anything for the converter, but I would like to migrate to the native api, as it's supposed to have more features/better integration. But I'm not sure if we will reap many benefits in Elm due to that. Some of those features might be connected to debugging for e.g.

razzeee avatar Sep 11 '21 18:09 razzeee

From https://marketplace.visualstudio.com/items?itemName=hbenl.vscode-test-explorer:

In version 1.59, VS Code added an official API and UI for running tests, which provides all the functionality of this extension and more. Therefore this extension is now deprecated. [...]

The official API is finalized in version 1.59. See https://code.visualstudio.com/updates/v1_59#_testing-apis.

The migration would at least reduce the number of deprecated extensions installed ;)

You can keep using this extension as before, but you now also have the option to use VS Code's native testing UI instead by setting testExplorer.useNativeTesting to true in your VS Code settings.

Should we encourage users to try this out?

l2dy avatar Sep 12 '21 05:09 l2dy

I think so, the experience should be better. I still think we should migrate, but somebody would need to invest the time.

razzeee avatar Sep 12 '21 09:09 razzeee

https://code.visualstudio.com/api/extension-guides/testing#migrating-from-the-test-explorer-ui

razzeee avatar Sep 25 '21 07:09 razzeee

Not sure if we can

razzeee avatar Dec 18 '21 16:12 razzeee