Skip to content

Consider auto-fold parameterized tests when test cases produce the same serialized data #5777

Closed
@Youssef1313

Description

@Youssef1313

If test cases produce the same json, the reason will be one of the following:

  • Duplicate test case (not realistic use case)
  • Type isn't serializable or doesn't round-trip correctly

In this case, it may be a good idea to automatically decide that this test case should be folded, as if serialization failed altogether.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: MSTestIssues with MSTest that are not specific to more refined area (e.g. analyzers or assertions)Area: Parameterized tests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions