Forum: RSpec shared examples in test unit?

Posted by Joaquin Rivera padron (joahking)
on 2011-09-25 08:46
(Received via mailing list)
hi,
at work we use TestUnit, and I miss there a lot the shared_examples from
RSpec, do you know if is there something alike for TestUnit?

I know this might be a bit OT but I thought you probably might know :-)

tia,
joaquin
Posted by Justin Ko (Guest)
on 2011-09-25 09:27
(Received via mailing list)
On Sep 16, 2011, at 4:40 AM, Joaquin Rivera Padron wrote:

> least-significant-bit.com
>
> _______________________________________________
> rspec-users mailing list
> rspec-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

T/U tests are just Ruby classes, so you can do things like "include 
UserAssertions".
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.