Prepare for native test explorer
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
Anything to be done in this project if we use the converter extension? Migration is only needed if we switch to the native API.
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.
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.useNativeTestingtotruein your VS Code settings.
Should we encourage users to try this out?
I think so, the experience should be better. I still think we should migrate, but somebody would need to invest the time.
https://code.visualstudio.com/api/extension-guides/testing#migrating-from-the-test-explorer-ui
Not sure if we can