I’ve been doing BDD with the “context/specificationt”- style for about 4 months now. Examples for this style are MSpec, NSpec or my little framework called xUnit.BDDExtensions.
What bothers me lately is that this style mixes context and behavior under test into one fixture class name, which can be extremely long because of that. An [...]
Does this sound familiar to you? From time to time someone delivers you answers to questions that have been on your mind for quite a while. You didn’t find an answer on your own and most of the people you talked with either didn’t care or hadn’t satisfying answers for you. When you finally hear [...]
Enjoy the following comment I’ve heard today in the Domain Specific Languages track:
. . . XML is data dressed up as a hooker . . .
Today I attended a tutorial about JRuby and JRuby on Rails. It was presented by Ola Bini from Thoughtworks, who did the more general part on (J)Ruby and Nick Sieger from Sun, who did the Rails stuff. What can I say, it was really cool.
I’ve been curious about Ruby for quite a while now, mostly [...]
Monday (Tutorials): Stuart Charlton: "Cloud Computing for Developers and Architects" Ola Bini & Nick Sieger: Getting started with JRuby and JRuby on Rails
Tuesday (Tutorials):
Neal Ford & Martin Fowler & Rebecca Parsons: "Domain Specific Languages" [...]
After 1 1/2 hours of train ride , 11 hours of flight and 30 minutes with a taxi (in that order) I finally arrived in San Francisco. It’s my first time in the USA and I’m also currently experiencing jet lag for the first time. 9 hour time difference is huge! It’s a weird feeling [...]
Wouldn’t it be nice to be able to just call
var report = myDto.Validate();
without sacrificing extensibillity, testabillity, etc? What about at this,
public static class ObjectExtensions
{
public static ValidationReport Validate<Subject>(this Subject subject)
{
[...]
The design of validation in software is one of those strange topics you can discuss endlessly about. Some of the major questions concerning validation:
In which Layer should validation logic reside? Is it part of the Domain Layer, part of the Presentation Layer, or is it somehow part of both?
Who is responsible for validation? [...]