Skip to content

Prefer TestInitialize method over constructor #2373

@Evangelink

Description

@Evangelink

Summary

Enabled by default: false
Default severity: info
Title: Prefer TestInitialize methods over constructors

This rule flags any constructor of a class marked with [TestClass] (or descendant) and suggest to use TestInitialize method instead.

AB#1986695

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions