Vagif Abilov's blog on .NET

Browse by Tags

All Tags » C# » unit testing (RSS)
Interaction-based testing and stable expectations
Yesterday I participated in a discussion about how to test the following class (it was actually an interview question). Here’s the class under test: public class ClassUnderTest { private SomeService service; public ClassUnderTest(SomeService service)...
Don’t use Activator.CreateInstance or ConstructorInfo.Invoke, use compiled lambda expressions
For a long time I’ve been under impression that rule engine that comes with Microsoft Windows Workflow Foundation is slow, very slow. We used it to execute some of our business rules, and soon found out that rule processing slows down application execution...
NUnitForVS: integrating NUnit tests into Visual Studio
Roy Osherove listed advantages of NUnit over MsTest but also mentioned one MsTest’s strength that can be crucial for many developers: “the integration with other team system tools and reporting is just beyond compare and the reporting alone helps alot...