Monday, September 20, 2004

Sorry, I can' resist putting little animation of the new design-time support in MbUnit. This sample shows how you can easily set up monitoring on a few PerformanceCounter inside a fixture component. (Demo solution at http://blog.dotnetwiki.org/downloads/DragAndDropUnitTesting.zip )

How-to

The procedure to monitor a PerformanceCounter is as follows:

  1. Add any PerformanceCounter to the component (drag and drop from the Toolbox),
  2. Make sure they are set up,
  3. For each PerformanceCounter, add a PerformanceCounterChecker and associate it a PerformanceCounter instance in the property pane
  4. Add the desired tests

For each of the test, the PerformanceCounterChecker will monitor the value of it's associated counter and it will assert if the value goes out of the specified bounds. In the report, a little summary of the counter values is shown (in the Console.Out view of the report).

posted on Monday, September 20, 2004 10:58:00 AM UTC  #    Comments [6]
Tracked by:
"DragAndDropFixture" (Confluence: MbUnit) [Trackback]
"bloomindales" (online) [Trackback]
"mexican sombrero" (online) [Trackback]
"numatic" (online) [Trackback]
Monday, June 06, 2005 5:26:03 PM UTC
That's pretty cool.
Nat
Monday, June 06, 2005 5:26:03 PM UTC
Niark :)
Jonathan de Halleux
Monday, June 06, 2005 5:26:04 PM UTC
That's *very* cool. Any guess on the release date? (I'm still waiting on the <a title="" href="http://weblogs.asp.net/nunitaddin/" target="_blank">NUnitAddIn</a> support to come back....)
<br>
<br>
Michael Dorfman
Monday, June 06, 2005 5:26:04 PM UTC
The release is actually *almost* ready. It was ready yesterday but we have put up a installer boostraper that should simplify things up. Hopefully releasing today.
Jonathan de Halleux
Monday, June 06, 2005 5:26:04 PM UTC
Peli's Blog
Monday, June 06, 2005 5:26:04 PM UTC
ISerializable
Comments are closed.