Forum: RSpec shared examples in test unit?

8a2de74362a8ee5f9c5e86b1ba0b1640?d=identicon&s=25 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
1df9fc8ddf084661265bbae74a8d0b43?d=identicon&s=25 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".
This topic is locked and can not be replied to.