I often found myself messing around with test email accounts and manually checking these accounts and worrying about sending an actual customer an email. A super simple way to develop an ASP.NET project locally and not even use an actual SMTP server is to take advantage of ASP.NET SMTP’s “SpecifiedPickupDirectory” option. Using this, an actual […]
Browsing archives for 'Testing'
This is a general technical and personal rant against SagePay. In this post I’ll present the reasons why I’m starting to get nervous about them handling my clients money… Firstly, their sample ASP.NET applications, oh dear. What’s wrong with them: ASP.NET WebForms, no MVC samples. VB only, no C# samples. Heavy use of VB specific […]
One tool I’ve found in my aim to have peace of mind about my ASP.NET MVC applications is MVCContrib’s Test Helper extensions. Found here. It enables you to write unit tests to assert that your routes resolve correctly and to the correct places. Take for example the following route test, this asserts when someone posts […]