Skip to content

{ Tag Archives } C#

Object Mothers as Fakes

This is a follow to Fakes Arent Object Mothers Or Test Builders. Over the last few weeks I have had the chance to reengage with MO and fakes. I am going to document a helper or two with building fakes using extensions. But before that I want to make an observation or two: I have [...]

Also tagged , , , , , , , , , , , , , , ,

Configuration DSL – Part III: Writing a Fluent Interface for Configuration in C#

This is the third entry on creating configuration DSLs in C#. The previous entry looked at the implementation. The basis of this code is to solve the problem that there are multiple configurations an application may require: development, test and moving through environments up to production. This solution makes the distinction that there are profiles [...]

Also tagged , , , , ,

Configuration DSL – Part II: Writing a Fluent Interface for Configuration in C#

This is the second entry on creating configuration DSLs in C#. The previous entry looked at the design of the interface. This one looks at the implementation. Just a small note that the configurator does not use an IoC container to solve the problem of dependency injection. Separating out settings from values: the configurator and [...]

Also tagged , , , , ,

DSL – Part I: Writing a Fluent Interface for Configuration in C#

I spent the weekend writing a configuration domain specific language (DSL) for a client interface. This interface was lifted from TopShelf project on codeplex after listening to podcast on MassTransit. It was all pretty straightforward and expected as you would imagine. I want to document for myself the process of setting one up for the [...]

Also tagged , , , , ,

Fakes Arent Object Mothers Or Test Builders

Fakes are not Object Mothers or Test Data Builders and Extensions are a bridge to aid BDD through StoryQ I’ve just spent the week at Agile2008 and have had it pointed out to me that I have been using Fakes as nomenclature when in fact it is an Object Mother pattern. So I have set [...]

Also tagged , , , , , , , , , , , , , , ,