webrat

warning: Creating default object from empty value in /homepages/42/d192712403/htdocs/website/arthur/life/modules/taxonomy/taxonomy.pages.inc on line 33.

Ben Mabey on ruby integration testing

At work we've been trying to learn how to do Behavior-Driven Development (BDD), which seems to be greatly encouraged in the ruby world. We've just gotten down to installing Cucumber (mostly Lenny's doing) and getting into the question of at what level we actually want to write the features and scenarios it expects. The choice under discussion is whether to put a lot of detail into the scenario definitions and drive the development from there, or to make them closer to something the users would understand - but in that case the detail has to be somewhere, and so it gets a bit hidden in custom step definitions. Which may be a good thing - anyway, we were pointed to this nice analysis of what is useful in writing scenarios, strongly favoring the "declarative" style, i.e.

Syndicate content