Imperative vs Declarative Scenarios in User Stories

Posted . Visible to the public.

Bryan talked about the differences between imperative and declarative scenarios. In my opinion, both styles have benefits and should be used appropriately based on the situation. The majority of examples on rspec's story runner currently on the web, including mine, are of the imperative type. Since the declarative type has many advantages I thought it would be worth while to present some examples and contrast the differences between the two styles.

Last edit
Keywords
cucumber, testing, makandra
License
Source code in this card is licensed under the MIT License.
Posted by Lexy to makandra dev (2011-03-31 08:49)