Skip to content

Replace MSTest Assert.ThrowsException with Assert.ThrowsExactly for MSTest v4 support #265

@echoix

Description

@echoix

Is your feature request related to a problem? Please describe.
MSTest v4 removed the deprecated Assert.ThrowsException. In v3, Assert.ThrowsException had an autofix to replace to Assert.ThrowsExactly, but it is not possible now that it is invalid code.

Describe the solution you'd like
The template changed

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions