MatthewMartin
MatthewMartin

Reputation: 33143

Static code analysis tools for finding defects in unit tests?

I'm looking for .NET static code analysis tools that can detect things like unit tests without an assert, too many asserts in one test, and other anomalies.

Upvotes: 1

Views: 275

Answers (1)

Mark Seemann
Mark Seemann

Reputation: 233150

There's Typemock Test Lint.

Although it's produced by Typemock, it's not particularly tied to their commercial Isolator product. As an example, it analyzes my xUnit.net tests that use Moq.

It's free, but only available for Visual Studio 2010.

Upvotes: 3

Related Questions