[Rspec-devel] contexts in reporting
aslak hellesoy
aslak.hellesoy at gmail.com
Sat Jun 10 01:56:33 EDT 2006
On 6/9/06, David Astels <dastels at daveastels.com> wrote:
>
> On 10-Jun-06, at 12:42 AM, itsme213 wrote:
>
> >>>> I don't see the usefulness in outputting a dot for each should_*
> >
> > Maybe I am doing something wrong with my shoulds. Is it a best
> > practice to
> > have a single should per spec? Smallest number possible?
>
> I say yes & yes
Dave wrote about this a while ago:
http://www.artima.com/weblogs/viewpost.jsp?thread=35578
Aslak
> >
> > If not, what is the fundamental difference between seeking feedback on
> > - the number of should's vs.
> > - the number of specs?
>
> specs are more conceptual.. what is the desired behaviour...
> expectations (what you are calling 'shoulds') are technical details.
> Maybe one expectation is enough, maybe not.
>
> Dave
>
> _______________________________________________
> Rspec-devel mailing list
> Rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel
>
More information about the Rspec-devel
mailing list