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

Unit test templates missing from .NET Core Unit test project #4828

Closed
hicks86 opened this issue May 16, 2019 · 5 comments
Closed

Unit test templates missing from .NET Core Unit test project #4828

hicks86 opened this issue May 16, 2019 · 5 comments

Comments

@hicks86
Copy link

hicks86 commented May 16, 2019

Visual Studio Version:
Visual Studio Professional 2017
Version 15.9.11

Summary:
Clicking on AddItem on a .NET Core 2.1 Unit Test Project does not show the Test category or any of the Unit test templates (1) (as opposed to a .NET Framework project (2) ).

(1)
netcore_testtemplates

(2)
netframework_testtemplates

Steps to Reproduce:

  1. Right click on the unit test project go to "Add" > then select "New Item"

  2. The "Add New Item" window will appear.

  3. On the left hand side under Visual C# Items the "Test" category is missing, also in the central template area there are no test templates.

Expected Behavior:
To be able to Add a New Item to a test project using a template such as "Basic Unit Test"/"Generic Test"/"UnitTest")

Actual Behavior:
No test templates are found for .NET Core test project

User Impact:
Manual creation of a test class, via adding a plain class then adding the [TestClass] and [TestMethod] decorator attributes.

@hicks86
Copy link
Author

hicks86 commented Jul 10, 2019

Any updates on this guys?

@jmarolf
Copy link
Contributor

jmarolf commented Jul 11, 2019

sorry, missed the notifications for this somehow. this issue should be moved to https://github.com/microsoft/vstest

@hicks86
Copy link
Author

hicks86 commented Jul 11, 2019

No worries. Is there anything I can do to move it the the vstest repo issues? Should I repost it there?

@jmarolf
Copy link
Contributor

jmarolf commented Jul 11, 2019

If you can repost it there that would be great. I will leave this issue open until that can be accomplished

@hicks86
Copy link
Author

hicks86 commented Jul 16, 2019

Done - moved: microsoft/vstest#2094

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

2 participants