Archive for October, 2008

Oct 30 2008

How to test e-mail notifications properly

Published by gojko under articles

I frequently get this question about unit or acceptance testing: If sending e-mail or some other sort of notifications is required by the business process, do we test this and how? This arrived again yesterday from a reader, in the following form:

…and one component of our application is email notifications (pretty straightforward stuff). This occurs on registration, forgot password, etc. I am having a tricky time thing about how to test to make sure these email notifications actually arrive. Is it common practice to use the same tool to login to a dummy email account on gmail to make sure the message makes it there?

This seems like a hack, and I’m curious if you’ve ever had to deal with a similiar situation.

First of all, I regard sending e-mail synchronously from the web request as a very bad practice. Continue Reading »

11 responses so far

Oct 23 2008

Dependency injection with Castle Windsor: Source code and links

Published by gojko under presentations

It was really great to talk about Castle Windsor today in front of a full room. Thanks very much to all of you who showed up and especially thanks to Mike Hadlow for participating in this event. Mike will probably post his source code and powerpoint slides on his site soon. Here are the links and the source code from my examples:

I also mentioned the new UK .NET Events site, where you’ll find a calendar of .NET-related events.

One response so far

Oct 21 2008

Using Fitnesse pages as templates

Published by gojko under articles

I’m getting this question very often from web site readers, and I’ve decided to put the answer online because it deals with a crucial misconception about FitNesse and signals a really bad usage practice. The question appears in different shapes, mostly around templating or simplifying complex scripts. This is the latest version: Continue Reading »

One response so far

Oct 20 2008

Castle Windsor talk this Thursday in London

Published by gojko under news

Mike Hadlow and I will present the principles of dependency injection, show how to implement them with Castle Windsor and then talk about some more advanced stuff such as Windsor facilities and
implementing custom functionality with them.

This session is aimed at .NET developers at all levels, it is free but upfront registration is required for capacity planning. We have only about 15 seats left in the room so if you were planning to attend, now is the time to sign up.

3 responses so far

Oct 15 2008

Oracle opens Coherence Incubator

Published by gojko under articles

During the Coherence Special Interest Group meeting in London, Brian Oliver from Oracle yesterday announced the start of the Coherence Incubator project. Coherence Incubator is a new online repository of projects that provides reference implementation examples for commonly used design patterns and integration solutions based on Oracle Coherence. Continue Reading »

One response so far

Next »