Tag Archives: tdd

RubyTapas Freebie – Gem-Love Part 3

Sometimes on RubyTapas I serialize larger projects into bite-sized pieces. In this episode, you can see a slice of the outside-in TDD process I use as I develop part of my gem-love project. You’ll see me thinking about messages before … Continue reading

Posted in Ruby, RubyTapas Samples, Screencasts | Tagged , , , , , | Leave a comment

RubyTapas Freebie: The End of Mocking

At the borders of our systems, mockist testing hits a point of diminishing returns. In this free episode we take a look at when to stop mocking and start integration testing.

Posted in Ruby, RubyTapas Samples, Screencasts | Tagged , , , , , | Leave a comment

RubyTapas Freebie: Gem Love Part 2

I have a few ongoing miniseries in RubyTapas. In this, the second installment of a miniseries chronicling the creation of a Rubygems plugin and an associated server, I touch on a number of topics including acceptance testing, the shellwords standard … Continue reading

Posted in Ruby, RubyTapas Samples, Screencasts | Tagged , , , , | Leave a comment

Creating Cowsays.com Part 2: Unit Tests and Cow Files

Part two in my “live”-style screencast series is now available! Watch me code up a small web app from scratch using test-driven development. In this hour-long episode, I switch from integration testing to unit testing in order to drive out … Continue reading

Posted in Announcements, Screencasts | Tagged , , , , , , | Leave a comment

Early access beta of “Objects on Rails” Now Available

UPDATE: Objects on Rails is now complete and freely available online. Often, at conferences and users group meetings, I find myself discussing the intersection of Ruby on Rails, Object-Oriented development, and Test-Driven Development, and I’ll mention something like “I prefer to develop my … Continue reading

Posted in Announcements, Books | Tagged , , , , | 27 Comments

Making a Mockery of TDD

I made this gnomic remark on Twitter the other day: To be a successful mockist, you must dislike mocks. A lot of people re-tweeted it, so I guess I’m not completely alone in thinking this way. I should back up … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , | 15 Comments

5 things programmers preach but don’t practice

I’m having a frustrating day of merge hell. Just to blow off some steam while specs run, here are some things that, in my experience, are a lot more common in theory than in execution in proprietary software development projects. At … Continue reading

Posted in Rants | Tagged , , , , , | 55 Comments

Demeter: It’s not just a good idea. It’s the law.

Is #try really so bad? In response to my recent post about #try being a code smell, a lot of people made the reasonable objection that the example I used—of using #try on a a Hash—was a pathological case. A … Continue reading

Posted in Ruby | Tagged , , , , , , , , , , , , | 73 Comments

Linkdump #8

Scriptensity: Emscripten 1.0! This is the first I’ve heard of this project: it’s an LLVM-to-Javascript compiler. Which means you can (for instance) compile C++ to Javascript. I can’t decide if this is amazing or just batshit insane. Probably both. tags: … Continue reading

Posted in Links | Tagged , , , , , , , , , , | Leave a comment

Linkdump #7

Hacker Chat: Pinboard Creator Maciej Ceglowski Talks About Why Boring Architecture is Good, and More Wise words. tags: development I think many developers (myself included) are easily seduced by new technology and are willing to burn a lot of time … Continue reading

Posted in Links | Tagged , , , , , , , , , , , | Leave a comment