On Thu, Apr 10, 2008 at 5:25 PM, aslak hellesoy
<[EMAIL PROTECTED]> wrote:

>
>  This is a very "technical" way to express a scenario. It wouldn't make
>  much sense to a typical domain expert (unless they know about
>  databases).
>  I generally try to write scenarios using the domain language,
>  focussing on outcomes for users (not computers). Example:
>
>  Given the customers joe, paul and lisa are registered users
>  When a user signs up as lisa
>  Then the user should be informed that the name is taken
>  And the user lisa should not be able to log in

I'm not sure which of the two lisas I should feel sorry for. <G>
-- 
Rick DeNatale

My blog on Ruby
http://talklikeaduck.denhaven2.com/
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to