unit testing your events(dotnettoad.com)
submitted by
Pakl(120) 3 years, 9 months ago
In this article I will show you how you can unit test your events. I will show you a simple technique that will enable you to test if your events fire exactly as often as you want them to and I will provide you with two implementations. One implementation works well with the .NET Framework 2.0 and the second one uses .NET 3.0 (anonymous methods) in order to minimize the code necessary.
|category: C#
|Views: 155
tags:
UnitTesting Events C# TDD another
Everyones tags:
Your Tags: