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

Migrating to native testing #87

Open
AlexandreMarkus opened this issue Jan 14, 2022 · 4 comments
Open

Migrating to native testing #87

AlexandreMarkus opened this issue Jan 14, 2022 · 4 comments

Comments

@AlexandreMarkus
Copy link

In version 1.59, VS Code added an official API and UI for running tests. Use it instead of Test Explorer UI, which is now deprecated

@numaru
Copy link
Owner

numaru commented Jan 15, 2022

I think the Test Explorer UI also added for us a translation layer. And testExplorer.useNativeTesting: true in the settings.json should enable the native experience.

I didn't use vscode testing in a year, is there any reason other than the deprecation to switch to the native API and remove the Test Explorer UI dep? (any missing feature or Quality of Life improvement?)

@AlexandreMarkus
Copy link
Author

Removing one deprecated dependency will also help to load the extension faster. Both Ceedling Test Explorer and Test Explorer UI are quite slow to activate when opening VS Code, so it will improve the booting time if you remove the dependency.
Thank you for your great work!

@AlmazShai
Copy link

Ceedling Test Explorer depends on the Test Explorer UI extension, which depends on the Test Adapter Converter. Thus, the need to install all of these extensions is not as clear to the user, and for testing and debugging common projects, a manual for installing all three extensions should be described. Does migrating to the native API make this task easier?

@mundodisco8
Copy link

I just discovered the native testing API and came here for the same reason, to see if the Ceedling adapter had moved to it. I see that you might not have much motivation to work on this if you don't use it that often and you might have moved on to other tools, but here's my vote if it helps 😄 The VS Code team had put an example here although I don't know TS and can't understand how challenging that would be.
Thanks for the tool in any case!

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

4 participants