C # code verifiability measurement

Following the link to the stack overflow, I found Miลกko Hevery entries a very interesting read. So good that I see a new approach to what, as I thought before, I did pretty well.

He talks mainly about Injection Dependency, Automated Unit Testing, and Good Design.

A number of good practices that he advocates are things that can be detected by software. And therefore there is a program for their detection of Google Testability Explorer .

My questions:

  • Is there a C # equivalent for Java Testability Explorer based on Java?
  • If so, which is better?
+6
c # dependency-injection unit-testing
source share
3 answers

Pex is an interesting record. It has the potential to conduct testing to a new level, especially in combination with Code Contracts .

+3
source share

It does not provide information in the same way as the Google Testability Explorer, but NDepend (not free) provides a lot of code analysis for .Net assemblies.

+2
source share

You can also use FXCop .

FxCop is an application that analyzes managed code assemblies (code intended for the Common Language.NET Framework runtime) and reports assembly information such as possible design, localization, performance, and security improvements. Many of the problems relate to violations of programming and design rules set forth in the Design Guide for Class Library Developers, which are Microsoft's recommendations for writing reliable and easy-to-repair code using the .NET Framework.

Hope this helps, Bruno Figueiredo [/ p>

0
source share

All Articles