· 3 min read

TDD and Scaffolding

In my exploration of new Microsoft technologies, I’ve encountered the concept of scaffolding, particularly through tools like MvcScaffolding. Scaffolding is a well-known feature in other frameworks, such as Ruby on Rails, where it provides a quick way to generate code templates. However, my encounter with scaffolding made me reflect on my high regard for Test-Driven Development (TDD) and how it...

Continue reading

· 7 min read

KanbanBoards part II–two steps forward and one back

Disclaimers and introduction I am now the father of three kids. They are my number one priority. This project will come second. I’m doing the project for myself mostly, but I’m very humbled by the fact that several people already have shown interest in my undertakings. Up to now I’ve also had time to look at the project half-an-hour at...

Continue reading

· 4 min read

Developing in .Net–a new era has begun

News The other day I just realized how much has changed in the way we develop code nowadays. Well, it might just be me, but there have certainly been some major changes in the .NET development arena. I don’t claim this to be in the right chronological order, but here are some major milestones for me: TDD – didn’t use...

Continue reading

· 2 min read

Know where you step–generate a step definition report with SpecFlow

In my recent ventures into DOS-country and the SpecFlow.exe I noticed one last flag or subcommand that the SpecFlow.exe accepts; StepDefinitionReport. This subcommand will go through all your features and see which step definitions are called, how many times they are called and also if there is any step definitions that isn’t called at all. OK – that sounds real...

Continue reading

· 4 min read

SpecFlow.exe and MsTest

With your SpecFlow installation comes SpecFlow.exe, a program that can be used to generate tests from the scenarios and create nicely formatted reports from the generated test results. There’s been a lot written about how to generate these reports when using NUnit (see this and this for example), but there’s been almost silence when it comes to managing this for...

Continue reading

· 1 min read

App.config for SpecFlow using MsTest

Every time I need to configure MsTest to work with SpecFlow I forget the syntax of it… Especially the first part… The fact that it took me about 30 min to write this post is evidence enough that I should not spend any more on this. Here is my reference: <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="specFlow" type="TechTalk.SpecFlow.Configuration.ConfigurationSectionHandler, TechTalk.SpecFlow"/>...

Continue reading

· 4 min read

Using Tags in SpecFlow Features

Since I first read about Cucumber in the excellent RSpec Book, the concept of tags has been one that I haven’t really grasped. I liked the idea as outlined here, which states that you can use tags to organize your features and only run a subset of them. The uber-cool @wip tag allows you to limit the number of items...

Continue reading