Monday, February 21, 2011

Generate Manager Report from Unit Tests (Visual Studio)

Is it possible to generate a report from Visual Studio 2008's integrated unit tests? Say, one you hand off to an account manager to include in an invoice for the client. One that looks say 10% as good as this?

alt text

I ask because Rob Conery made a great video about using BDD to develop applications. And within it, he uses a 3rd party framework called Machine Specifications (or MSpec). I have gotten MSpec working quite nicely on my end. But, I do not want to introduce MSpec to the product team until this lifecycle is complete in about 6 months or so.

So, until then we are using Visual Studio's unit test. But, I REALLY love the way Machine.Specification generates those very clean HTML reports.

Is there a way to generate such reports from the built-in Visual Studio 2008 unit tests? Our bosses would love to hand off a report of our tests (in the 100s, 1000s).

Thank you in advance!

From stackoverflow

0 comments:

Post a Comment