# Sunday, September 19, 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 Sunday, September 19, 2004 8:58:00 PM (Pacific Daylight Time, UTC-07:00)  #    Comments [6]
Tracked by:
"DragAndDropFixture" (Confluence: MbUnit) [Trackback]
"bloomindales" (online) [Trackback]
"mexican sombrero" (online) [Trackback]
"numatic" (online) [Trackback]
Monday, June 06, 2005 3:26:03 AM (Pacific Daylight Time, UTC-07:00)
That's pretty cool.
Nat
Monday, June 06, 2005 3:26:03 AM (Pacific Daylight Time, UTC-07:00)
Niark :)
Jonathan de Halleux
Monday, June 06, 2005 3:26:04 AM (Pacific Daylight Time, UTC-07:00)
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 3:26:04 AM (Pacific Daylight Time, UTC-07:00)
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 3:26:04 AM (Pacific Daylight Time, UTC-07:00)
Peli's Blog
Monday, June 06, 2005 3:26:04 AM (Pacific Daylight Time, UTC-07:00)
ISerializable
Comments are closed.