Category Archives: TDD

Acceptable test failures

As Derick Bailey pointed out in my last post, one of the annoyances with ReSharper is the NotImplementedException it puts in when you generate a method.  Going from the TDD side, this is exactly what we don’t want when we’re … Continue reading 

| Comments Off

Three simple Rhino Mocks rules

In previous versions of Rhino Mocks, the Record/Replay model was the only way to create and verify mocks.  You would have an area that set up expectations in a record mode, then the replay mode would verify your expectations.  What … Continue reading 

Also posted in AngularJS, developer, didactics, learning, methodology | 7 Comments

A TDD investment addendum

I completely left out one very important tip in my top 10 tips to get a return on your TDD investment: Take advantage of pair-programming. Pair programming is a great teaching device, as it lets two people go back and … Continue reading 

| Comments Off

Ten tips to maximize the return on your TDD investment

Paul Cowen presented an interesting personal observation of using TDD on the ALT.NET mailing list, under the title “TDD + effort != return“.  The implication being that doing TDD requires extra work during development, extra work in training, extra work … Continue reading 

| Comments Off

Interfaces and isolation

Roy Osherove has suggested a new name for mocks, fakes, stubs or any test double: Isolation.  True, the myriad of test double names can muddy the language, and Meszaros’ suggested name of “test double” still confuses people that don’t get … Continue reading 

| Comments Off

TDD design trade-offs and junk food

Tony Rasa recently talked about design trade-offs when doing TDD: When “doing TDD,” we consciously make design trade-offs to favor testability. … we end up with a lot of single-implementation interfaces because of testability concerns and from weaknesses with our … Continue reading 

| Comments Off

Announcing: Pablo’s Days of TDD in Austin, TX

Los Techies(.com), its president, Pablo El Burro, and our sponsors are pleased to announce "Pablo’s Days of TDD" (PDoTDD).  PDoTDD is a day-and-a-half event of workshops, discussion, practice, and training around automated unit testing, specifically the practice of Test-Driven Development … Continue reading 

| Comments Off

Quality and code coverage

It’s an age-old question: should our team’s goal be 100% coverage?  A valid question, but one I’ve never much cared about in practice.  The idea is that the team, all practicing TDD, should dutifully measure and add unit tests until … Continue reading 

| Comments Off

Design and Testability

There was a rather healthy public discussion and debate going on via Twitter today between Roy Osherove, Ayende Rahien, Colin Jack, me, and several others. Michael Feathers even dropped in at one point which was cool.  This all started when … Continue reading 

| Comments Off

Droppin’ Pennies on context specs…

First off I want to make it clear that I’m not a guru on the topic, but I do find it interesting. The topic of course is Context Based Specifications. I’ve seen an emergence in interest in writing context based … Continue reading 

Also posted in design, practices, refactoring | 12 Comments