Skip to content
This repository has been archived by the owner on Nov 27, 2017. It is now read-only.

Test Explorer wrongly groups by class #113

Open
nepdev opened this issue Mar 28, 2017 · 3 comments
Open

Test Explorer wrongly groups by class #113

nepdev opened this issue Mar 28, 2017 · 3 comments

Comments

@nepdev
Copy link

nepdev commented Mar 28, 2017

dotnet-test-nunit v.3.4.0-beta-3, with NUnit 3 Test Adapter (on Visual Studio 2015 Update 3 Community Edition)

When grouping tests in the Test Explorer window by class, some tests show grouped in the right class, others in the wrong class.
In other words, if I have 2 test-classes A and B, then some tests in A might show under the group "A" in Test Explorer and some in group B (which should only contain tests in class B).

Actual Example shown below. The class JobCategoryTests does not contain any test starting with "Area", yet some are shown there.

nunit-error2

@CharliePoole
Copy link
Member

@nepdev It would help us to know whether the same problem shows up in the standard NUnit 3 adapter, if you target a desktop version of .NET like 4.5. If you are unable to test this, just let us know and eventually somebody else will do it. 😄

The same question also arises with your separate issue #114

@nepdev
Copy link
Author

nepdev commented Mar 31, 2017

Created a desktop application targeting .Net 4.5.2, and cannot reproduce the error in this project.
This is only one project, and it might not be conclusive, but I haven't been able to get the errors to occur.

I should note that the above project, which produces these errors, is an ASP.Net Core project targeting .Net 4.5.2 (same .Net version as in the perfectly working desktop project).
So it is not a "pure" dotnet-core project. I'll try testing a pure dotnet project next.

@CharliePoole
Copy link
Member

@nepdev Thanks for checking!
@rprouse Looks like this is particular to dotnet-test-nunit then.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants