↧
On Unit Testing Private Methods
Unit tests are easy to write for methods that are publicly accessible. However, when it becomes necessary to test methods with modifiers other than public, things tend to get rather complicated. This...
View ArticleA Multilevel Cache Retrieval Design for .NET
Caching data is vital for high-performance web applications. However, cache retrieval code can get messy and hard to test without the proper abstractions. In this article, we’ll start an ugly...
View ArticleData-Driven Tests with NUnit
This article shows how you can run the same unit test multiple times with different input data, using NUnit. A Simple Scenario Before we can learn about data-driven testing using NUnit, we need some...
View Article