Quantcast
Browsing latest articles
Browse All 3 View Live

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 Article


Image may be NSFW.
Clik here to view.

A 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 Article


Image may be NSFW.
Clik here to view.

Data-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
Browsing latest articles
Browse All 3 View Live