-
Notifications
You must be signed in to change notification settings - Fork 285
Labels
Area: MSTestIssues with MSTest that are not specific to more refined area (e.g. analyzers or assertions)Issues with MSTest that are not specific to more refined area (e.g. analyzers or assertions)Breaking ‼️In-PR
Milestone
Description
Summary
Current behavior of ClassCleanupAttribute
is to be run at the end of the assembly and not at the end of the class as the name would suggest.
Note that it is possible to change this behavior (locally with a ctor/property) or globally using ClassCleanupExecutionAttribute
.
Proposed Enhancement
Change default behavior to be EndOfClass
. Although this is a breaking change, it will be possible for users to revert to old behavior simply by adding [assembly: ClassCleanupExecution(ClassCleanupBehavior.EndOfAssembly)]
.
ChristopherHaws
Metadata
Metadata
Assignees
Labels
Area: MSTestIssues with MSTest that are not specific to more refined area (e.g. analyzers or assertions)Issues with MSTest that are not specific to more refined area (e.g. analyzers or assertions)Breaking ‼️In-PR