Smelly Code: Direct Object Instantiation as a Testability Killer
This Smelly Code post discusses mainly a testability issue without going into further detail on other things like readability which could be improved for sure as well. Original, smelly code public...
View ArticleIs TDD Evolving?
Something strange is going through TDD land these last couple of weeks. First it was Uncle Bob,with a new TDD theory – making tests pass in a certain order, actually helps incremental design, leading...
View ArticleWhy you need to make your tests fail
Test Driven Development (TDD) have many benefits. For start it’s a design methodology that help avoiding “Analysis paralysis” and make sure that you only have the needed code to solve a problem....
View ArticleBehavior Driven, Test Driven, Domain Driven Design
Ah, the joys of xDDs, you can never use too many, right? One of the many benefits of using event sourcing with CQRS is how well it facilitates using BDD style testing to drive our domain model design....
View ArticleWPF View Smoke Testing
I enjoy TDD. I enjoy the way it makes me code and I enjoy the rhythm. That is, I really enjoy TDD’ing the logic in my applications: The business logic, the controller logic, the domain logic; wherever...
View ArticleA bad test
This is a bad test, because what it does is ensuring that something does not works. I just finished implementing the session.Advaned.Defer support, and this test got my attention by failing the build....
View ArticleTDD vs. BDD or why can’t we all just get along?
I was listening to another good Hanselminuets podcast – Understanding BDD and NSpec with Matt Florence and Amir Rajan. As always it was a good an informative show. Towards the end of the show one of...
View Article
More Pages to Explore .....