Skip to content

Multiple results in VS2017 test runner #358

Description

@jannovakcnx

Description

When test method attribute is overwritten (exactly the way shown in example - RFC3 and test method is executed multiple times, first test passes and the other tests are failing, visual studio shows test result as passed.

Steps to reproduce

  1. Overwrite TestMethodAttribute to run test method multiple times
  2. Create a test method, which passes on first execution, but fails on second run, decorate it with new attribute created in step 1
  3. Execute test and see result in test explorer

Expected behavior

Should see test failed

Actual behavior

Test passes and status is green

Environment

Visual Studio 2017 (15.5.2), official release of test framework from nuget (1.2)

Activity

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions