[rspec-users] Best practices: How small to make examples?

Brandon Olivares programmer2188 at gmail.com
Sat Apr 4 22:56:43 EDT 2009


How small should examples be?

Let's say I have a form, should there be one example per field? If there's a
dropdown, should I describe the dropdown and have one example per option? I
thought that at first but now, because of the duplication and sheer
verbosity, it seems too much.

So what do you think?


More information about the rspec-users mailing list