[rspec-users] testing behaviour or testing code?
Rodrigo Alvarez Fernández
papipo at gmail.com
Sun Sep 2 11:18:36 EDT 2007
On 9/2/07, David Chelimsky <dchelimsky at gmail.com> wrote:
> On 9/2/07, Rodrigo Alvarez Fernández <papipo at gmail.com> wrote:
> > I have an article about this in my blog, with a controller spec example,
> > testing just behaviour and not the code. Please, comment it and tell me
> > you think.
> I added comments on the blog:
> > I guess that with the new Story runner, this approach will be
> > even better.
> Be careful here - Story Runner is not really intended to solve these
> lower level problems. Not that it can't be used for that, but it's a
> lot more heavyweight and better suited for high level scenarios that
> exercise the code end to end (including the DB).
Yes, I meant as integration tests.
> > Thanks in advance.
> > --
> > http://papipo.blogspot.com
> > _______________________________________________
> > rspec-users mailing list
> > rspec-users at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/rspec-users
> rspec-users mailing list
> rspec-users at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-users