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

TestCaseAttribute Attribute value altering Test Explorer grouping behaviour #654

Open
Xaiden opened this issue Aug 30, 2019 · 2 comments
Open
Labels

Comments

@Xaiden
Copy link

Xaiden commented Aug 30, 2019

NUnit test Adapter: 3.13.0.0
NUnit Nuget Package: 3.12.0
Visual Studio Professional 2019 - 16.2.3 (Replication on 2017)

When I create the following Unit tests and attempt to view them in VS Test Explorer I would expect them both to be grouped under the UnitTest class:

image

but any unit test which contains the characters ). within a TestCaseAttribute Argument is displayed outside of the expected class - as a class of it own:

image

Following grouping values were used within Test Explorer:

image

        [TestCaseAttribute("TestAttribute).")]
        public virtual void NUnitTestTwo(string value)
        {

        }
@mikkelbu mikkelbu transferred this issue from nunit/nunit Aug 30, 2019
@mikkelbu
Copy link
Member

@Xaiden Thanks for the complete description. I've moved the issue to the adapter project, as this is about how the tests are presented in VS. The issue sounds closely related to #622.

@johnmwright
Copy link
Contributor

I believe this is the same underlying issues as #622 and is fixed by PR #668

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

No branches or pull requests

4 participants