Subscribe in a reader


Archive for tag: Tough Choices

Integration vs unit tests

When people are talking about automated testing, unit tests get all the buzz. Alpha geeks do them all the time, Uncle Bob Martin blogs about them, Oprah invites them to her show, Mr.President.. well, you got the idea. When somebody mentions integration tests, it's like, "you should write integration tests like a good boy/girl, or you'll be punished". Those of you who are just starting automated testing probably think, "ok these integration tests must be real pain in the ass, l'm really sca...Read more..

Tough Choices: Test First, or Test Driven?

Writing a test before you write the first line of production code is a revolutionary concept. No, really. Blew my mind when I first heard about it. Running a test when you sure know it won't pass feels like programming Mad Hatter style. When you start doing it, you feel like a rebel, defying all dogmas and dusty stereotypes.

But when you finally fall asleep, a grinning deity comes to your bed and whispers these bitter words in your ear:

You're not doing TDD

This i...Read more..

Tough Choices: Test First or Test Last?

This post is a part of the new series called "Tough Choices". These are choices about the kinds of tests we write, and how do we do it. I'm writing the series in order to bring a little understanding of what's going on to the masses.

When you're a beginner and just learn automated testing, writing a test for existing code is simpler, and you should probably learn it this way. When you finally have a passing test, it means that you got the basics of test writing. Many people remain ...Read more..


Latest news

Latest blog posts

Powered by FeedBurner