· 2 min read

In SpecFlow the test runner is just glue

I answered a question on Twitter today from a guy who had problems running SpecFlow scenarios with MSTest. That shouldn’t be I thought to myself – in SpecFlow the test runner is only used for the auto-generated stuff (#2 in this pictures) and shouldn’t affect the code you write. Lets try it. The default test runner is NUnit so first...

Continue reading

· 11 min read

Kanbanboards V–creating new boards

OK – after the last post of refactoring I now feels great to turn my focus on some new functionality; I want to let the users create new Kanban boards. This involves some new views and controllers stuff, uploading pictures and also changes in the domain model. I got some valuable feedback from my colleague Joakim Sunden on the real...

Continue reading

· 3 min read

Customize your SpecFlow templates and more

I got this tip from a non-developer. An intern, actually. He’s brilliant though and figured this out by himself, about 3 months after I introduced him to SpecFlow. Thank you, Dejen – you’re great! The fact that this is not documented anywhere just adds to the coolness, but also makes the solution a bit hackish. Sorry for that. SpecFlow stores...

Continue reading

· 5 min read

Kanbanboards IV–shaping stuff up

I have now coded away for a while and it’s time to reflect a refactor a bit. I don’t like code lying around that I might not need. YAGNI you know… So I thought I’d give it an hour to clean stuff up. And maybe put some better looks on the site. Hopefully I’ll end up in a better place....

Continue reading

· 3 min read

CQRS–another love story

People who know me also know that I easily get all ga-ga, fall in love in or simply get very excited over thing that I like. Actually the other day I thought for myself that I right now talk a lot about BDD, Specflow and Kanban – simply because I think that these things are just great. A quote that...

Continue reading

· 2 min read

Using Unity as Dependency Resolver in ASP.NET MVC 3

There have been a lot of improvements and additions to dependency resolving in ASP.NET MVC 3. Even in areas that you first didn’t think about (dependency injection in views) at first. OK – after my last post, in which I’m using Ninject (with the cool website) I got the questions if it can be done with Unity. Of course it...

Continue reading

· 2 min read

How to apply a pull request on GitHub with TortoiseGit

I am loving GitHub! Especially the social collaboration that occurs around projects and code. If you’ve never committed code to an OSS project, try it—it’s an exhilarating feeling. And just imagine the other side of the coin—to receive suggestions and improvements from others! That’s the good news. The bad news (for me, at least) is that Git is something else....

Continue reading