visual studio 2008 - VS2008 Unit Tests: How to include a message with a "success" -


Using Visual Studio 2008 for a unit test, make sure to test basic tests of one of the unit tests The additional code does not slow down the poorly used method.

Obviously, I want this to fail when "# per second" falls below a certain value, and of course it displays my message error message column, but when it passes , I still should show this performance anywhere in the results of the Metric Unit Test.

Is this possible?

You print the value to the standard output ( Console.WriteLine ) You can. This is very little technology, but standard output is usually captured.

Of course, all of this depends on how you show the results of your unit test. Most of the time results are only red / green, error details are shown ...


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -