Skip to content

DynamicDataAttribute and DataRowAttribute annotated test methods are being skipped in v3.8 #5018

Closed
@sramekpete

Description

@sramekpete

Describe the bug

After updating MSTest to version 3.8.0 data-driven tests are being skipped. Update from 3.7.3 to 3.8.0 shouldn't bring any breaking changes.

Steps To Reproduce

  1. Create a MSTest project. Update MSTest to v3.7.3.
  2.  Create a data-driven test using DynamicDataAttribute or DataRowAttribute.
  3. Run tests. None should be skipped.
  4. Update MSTest to 3.8.0
  5. Run tests. Tests using DynamicDataAttribute or DataRowAttribute are being skipped.

Working example can be found in repo polyline-algorithm-csharp@repro/mtstest-breaking-change-v3.8 and tests folder. There is side by side the same test project, one using 3.7.* and the other 3.8.*.

Expected behavior

Test methods using DynamicDataAttribute or DataRowAttribute are not being skipped after an update to 3.8.0.

Actual behavior

Test methods using DynamicDataAttribute or DataRowAttribute are being skipped after an update to 3.8.0.

Additional context

Image

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions