Skip to content

Fix Visual Test Runner so that it will split up tests that use class based test cases #9976

Open

Description

Description

If you use a class for the TestCase the Visual Runner will just collapse those into a single test.

image

Tests using primitives for data all get split into different test cases

image

If you check the TheoryDiscoverer you'll see that it only generates the one test case. We'll need to look into the xUnit source code to see what logic it uses to split up test cases and why it doesn't do it for class based TestData.

Currently in our test runner if you have a test case that falls into this category we will just display the last failed result otherwise you only see the result of the last test executed. If the last test is green then it hides the failures from the UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Taskneither bug nor feature but something that needs to be done in support of eitherarea-testingUnit tests, device teststesting-infrastructureIssue relating to testing infrastructure

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions