From: Phlip Date: 2008-08-16T23:33:02+09:00 Subject: Re: BDD and TDD - What are they for? David A. Black wrote: >> Yes - BDD is TDD with an added layer: A "literate programming" framework that >> forces you to think in clear English* statements that your client could >> understand. > > I wouldn't call it literate programming in the Knuthian sense A> hence the "scare quotes", and B> hence Knuthian literate programming is less than useful for us mortals. If Knuth only intended to invent markup languages in his spare time, and did not intend to split the difference between developer-facing and customer-facing verbiage, then we are beyond literate programming. Here's an example of a test case written in programmer-speak: test_strobe_count_down_fields_in_pre_fight_states Now reverbiage it: specify 'the audience sees an animated countdown before the fight' do Figuring out how to say an internal detail in terms a client can understand is often brain-wrenching. As developers, our brains are prepped with developer terms. The B in BDD stands for "Behavior the client has requested"... -- Phlip