Going Further with Fluent Builders in your Tests – C#

Going Further with Fluent Builders in your Tests – C#

Fluent Builders are extremely useful. Once you start using them there is no going back! In my first article I outlined fluent builders - what they look like and how to put them together. This time I will go a little deeper to show you just how versatile they can be. Method Naming You can be as flexible as you like in...

Continue reading →

Use Fluent Builders In Your Tests – C#

Use Fluent Builders In Your Tests – C#

When creating tests (for TDD or BDD), use fluent builders No, I don't mean the kind that come around and drink all your coffee / tea. When you are testing your code you often have to initialise various classes beforehand. There are several ways to do this. Consider this simple api that takes in a 'Booking' object and returns the...

Continue reading →