[rspec-users] How to write specification for the *base* class API?

Piotr Wlodarek lists at ruby-forum.com
Wed Jul 16 01:14:28 EDT 2008

Pat Maddox wrote:
> On Tue, Jul 15, 2008 at 10:10 AM, Piotr Wlodarek <lists at ruby-forum.com> 
> wrote:
>>> goal.
>> In a perfect world I would expect to have only one documentation tool:
>> specs.
> I think in this case you could provide contract tests.  These would be
> shared behaviors that developers can mix in to their own specs.
> Consider something basic for an account:

Thanks for the example. It carifies the issue. I will try it.


BTW, do you think it's worthwile to replace most of rdoc and other 
documentation with specs?

RSpec itself comes with nice RDoc, so perhaps I want too much?
Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list