はじめに。 この連載では、エクストリーム・プログラミング(extreme programming; 以下XP)のプラクティスのひとつであるテスト駆動開発(てすとくどうかいはつ、test-driven development; 以下TDD)について、 聞いたことはあるけれど内容は知らない方 概要は知っているけれど実際に使ったことがない方 等、主に初学者を対象に、TDDの基本について全6回にわたってご説明していきます。 RSpec等のツールを使ってTDD開発をしてはいるものの、正直メリットが今一つ理解できていないという方も、もちろん歓迎です。 そしてこのシリーズは、 “少しだけアジャイルをかじった程度の開発経験の浅いプログラマ”「古谷」が、TDD開発を実践しているプロジェクトに参画するにあたって、“プロジェクトリーダー”の「高梨先輩」に、TDDについて1から学ぶ。 という想定で記述していきます