Kevin Rich
Unit Testing: Activate Easy Mode
The Four Horsemen: AutoMock, AutoFixture, Shouldly, and xUnit
Introduction
Yesterday, after presenting to the Willamette Valley Software Engineering meetup about Dependency Injection, an engineer by the name of Josh and I got to talking. After making an offhand comment about a testing framework combination I'd used, he got really excited. I figured I'd use this as an excuse to do a . . .
Posted in: asp.netautofixtureautomoqboilerplatedebuggingdependency-injectionfluent assertionsmoqshouldlytddtest-driven-developmenttestingxunit
SMTP Service
...but why?
I've recently started adding the following interface to most of my web applications in which a requirement is to send automated email notifications.
using System.Net.Mail;
namespace MyApp.Core.Service
{
public interface ISmtpService
{
void Send(MailMessage message);
}
}
And the code . . .
Posted in: asp.netmoqsmtptddtest-driven-development
Cover image credit: http://whoiskevinrich.com