Re: TDD/BDD and Use cases.



On Jan 30, 4:24 am, "Daniel T." <danie...@xxxxxxxxxxxxx> wrote:
I just saw Dave Astels' google TechTalk about behavior driven
development [http://preview.tinyurl.com/mx4p2] and I couldn't help but
wonder what connection it has, if any with UML use cases.

Like TDD, BDD is a devlopment best practice. I'd never really
considered a link between BDD and UML use cases before, but then I
very rarely use use cases. In fact I can't remember the last time I
used use cases, 5+ years ago or something.


I must admit, I am one of the people he talks about who viewed TDD as
more of a verification procedure than a specification procedure, so I
never made the connection before. When I saw his presentation,
especially the method names, I immediately thought about use cases and
how they may relate.

BDD is, to a significant extent an exercise in Neuro-Linguistic
Programming. It tries to shed the test nomenclature of TDD and frame
our activities in a language that provokes specification oriented
thoughts as opposed to verification oriented ones.

BDD doesn't, however, specify what happens before we hit the code.
That's up to the team and the wider process. I'd be interested in
reading about any experiences you have with Use Cases and BDD.

--
Regards,

Tim Haughton

http://agitek.co.uk
http://blogitek.com/timhaughton

.



Relevant Pages

  • Re: BDD and TDD - What are they for?
    ... Driven Development and/or Test Driven Development (TDD, ... BDD is a philosophy and a vocabulary for talking about TDD. ... a customer could write stories by themselves. ...
    (comp.lang.ruby)
  • Re: Should is the new Must?
    ... expect tests to fail at first, maybe this is different in BDD than in TDD, I ... The other motivation for should was in part what Einar suggests here. ... 'Must' is the word that denotes what our tests/specs do. ...
    (comp.lang.ruby)
  • BDD and TDD - What are they for?
    ... Driven Development (BDD, see RSpec) and/or Test Driven Development (TDD, ... I'm missing something profound that could make me a better programmer. ...
    (comp.lang.ruby)
  • Re: How to use this Combinatorial testing technique
    ... i think dynamic languages like ruby require a, ... (on top of tdd, bdd, whatever), rigorous process of *thought* and ...
    (comp.lang.ruby)
  • BDD No "Computer Image Build" dialog box
    ... I am having trouble getting the BDD to execute the first screen after it ... It should make the connection then pop up the ... "Computer Image Build dialog box". ...
    (microsoft.public.sms.tools)