Skip to content

Prefer constructor over TestInitialize method #2372

@Evangelink

Description

@Evangelink

Summary

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

This rule flags any void method marked with [TestInitialize] attribute and suggest to use a constructor instead.

AB#1986694

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions