I found a cool tool today for doing mutation testing in C#. Basically, it runs your unit tests to analyze your code coverage, then it purposefully modifies the sections of your code that are covered, to see if the tests will still pass. The theory is, if the tests pass, then even though you have coverage, you're not asserting the right things. So, it helps you analyze the quality of your unit tests.
Check it out here: http://galera.ii.pw.edu.pl/~adr/CREAM/index.php
Popular Posts
-
If you have a memory leak or infinite loop on production that you don't know how to reproduce easily on your development box, it's ...
-
When creating a branch from main to release you may get an error like this: Branch from Main TF14098: Access Denied: User CTAC\dgarner ne...
-
I found a cool tool today for doing mutation testing in C#. Basically, it runs your unit tests to analyze your code coverage, then it purpos...
-
Compile Lambda or Code String to MethodInfo or Action or Func: using System; using System.CodeDom.Compiler; using System.Collections.Generi...
-
Some browsers use .domain.com as wildcard, others use domain.com It is common practice for a user to forget the www and most servers will r...
-
Here are some extension methods to allow you to recurse through a class hierarchy: public static class LinqExtensions { pub...
-
Here's an extension method that will convert a lambda to an equality comparer: public static class FuncExtension { private class Ge...
-
Search SQL Server for stored procedures in all databases containing text USE [master] GO CREATE PROCEDURE sp_SearchProcs ( @SearchTex...
-
There is a bug in VS2010 that causes setup projects to not compile sometimes. An example error message you might get is: ...
No comments:
Post a Comment