views:

64

answers:

0

When I am developing on my local machine, I want Visual Studio to play a happy sound when I run my unit tests and they pass and a sad sound when one fails and a really sad one when more than one fails. How do I do this?

I assume that I need to write a macro, but I can't find any environment events that relate to unit tests. I am using Visual Studio 2010, but it would be nice to have a general solution for most or all versions of Visual Studio.