Tag: unit test

ASP.NET Testing with a Service Layer

Unit testing is becoming a norm for developers and ASP.NET is no different. Although TDD is baked into Ruby on Rails, and some JavaScript frameworks for quite some time now, ASP.NET testing is a new thing for some… Read More

Top Reads October 2014

Here are the top readsĀ of articles, libraries, and websites that I found cool or useful for the past month. Enjoy!

My Struggles with TDD

If you’ve spent any amount of time being a developer, I’m sure you’ve heard of TDD, or Test-Driven Development. The point of TDD is that you write a failing test first, write the code to make the test… Read More

Mock HttpContext using Moq

In a project I’ve been working on, I needed a way to be able to test Windows authentication to an ASP MVC app. Having that authentication rest at the controller level made sense, but from a testing perspective… Read More