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

Add Support for VS2022 #41

Closed
iodar opened this issue Jan 14, 2022 · 12 comments
Closed

Add Support for VS2022 #41

iodar opened this issue Jan 14, 2022 · 12 comments

Comments

@iodar
Copy link

iodar commented Jan 14, 2022

Hello everyone,

First of all thank you for developing this extension which makes work a lot easier.

I wanted to ask whether it is planned that this extension will support Visual Studio 2022.

Thanks in advance.

Best regards,
Dario

@iodar iodar changed the title Question: Will this support be added for VS2022 Question: Will support be added for VS2022 Jan 14, 2022
@iodar
Copy link
Author

iodar commented Feb 16, 2022

Hallo all, I wanted to ask whether there are any news on the topic above?

@mattwhitfield
Copy link

@iodar - FWIW, I found https://cezarypiatek.github.io/post/migrate-vsix-to-vs2022/ pretty helpful when I was adding VS2022 support to my test generator extension. Following that approach you end up with a version for VS2022 and above which was separate. The RandomEngy extension seems to support VS2022 ok from one extension, so no idea what they did there.

Just thought that might be helpful if you wanted to have a crack at adding VS2022 support.

@marbel82
Copy link

I found another extension:

https://github.com/RandomEngy/UnitTestBoilerplateGenerator

but it can only generate tests for whole class. I can't generate test for a single method.

@mattwhitfield
Copy link

@marbel82 - Mine (https://github.com/mattwhitfield/Unitverse) does allow you to generate for single methods, if that helps.

@marbel82
Copy link

marbel82 commented Mar 1, 2022

@mattwhitfield Looks promising. Only one thing is missing, I need to select the project to which the test will be added.

Some methods I test in project App_UnitTests and some in App.IntegrationTests. Also project names evolved over years, so we have many patterns.

@rprouse
Copy link
Member

rprouse commented Mar 15, 2022

We'd like to add support, it is just a matter of resources. If anyone wants to make the necessary updates, I'd be glad to review the PR and get it released.

@iodar
Copy link
Author

iodar commented Apr 5, 2022

We'd like to add support, it is just a matter of resources. If anyone wants to make the necessary updates, I'd be glad to review the PR and get it released.

Thank you for clarifying that. I am looking forward to the release.

@Mudoch
Copy link

Mudoch commented Jun 16, 2022

I'd like to add my voice to encouraging the update to VS2022. Thank you.

@efhilton
Copy link

efhilton commented Sep 7, 2022

@rprouse I see a PR that seems to add support for VS2022. Any chance this is the magical one that gets us Nunit test generation on vs2022? Pretty please? ;)

@willjblair
Copy link

willjblair commented Nov 11, 2022

#43 - linking pull request for reference

@rprouse
Copy link
Member

rprouse commented Dec 31, 2022

The PR for this requires a lot of work so I moved it over to #46 and am adding to it and following https://learn.microsoft.com/en-us/visualstudio/extensibility/migration/update-visual-studio-extension?view=vs-2022

@rprouse rprouse self-assigned this Dec 31, 2022
@rprouse rprouse changed the title Question: Will support be added for VS2022 Add Support for VS2022 Dec 31, 2022
@iodar
Copy link
Author

iodar commented Feb 10, 2023

I found another extension:

https://github.com/RandomEngy/UnitTestBoilerplateGenerator

but it can only generate tests for whole class. I can't generate test for a single method.

This is really good. Have been using it a bit and I can say it works well. Only disadvantage is adding new test methods. Has no support for that as far as I can see. But still really useful. Thanks @marbel82 for the suggestion.

@OsirisTerje OsirisTerje added this to the 3.0 milestone Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants