Forum: RSpec inheriting test cases vs. mixing them in

Posted by Alexy Khrabrov (braver)
on 2011-08-23 03:48
(Received via mailing list)
I've come across an interesting blog post showing how to inherit
tests:

http://benbiddington.wordpress.com/2010/11/06/rspe...

How does it stack against the usual mixing/shared_examples_for,
beautifully described in

http://blog.davidchelimsky.net/2010/11/07/specifyi...

I.e., what are the cases where you'd do inheritance vs. the usual
shared_examples_for?

Cheers,
Alexy
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.