[rspec-users] shared examples in test unit?

Justin Ko jko170 at gmail.com
Sun Sep 25 02:54:09 EDT 2011

On Sep 16, 2011, at 4:40 AM, Joaquin Rivera Padron wrote:

> 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
> -- 
> para.pent.es vamos a volar, let's go flying
> least-significant-bit.com
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

T/U tests are just Ruby classes, so you can do things like "include UserAssertions".

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20110925/a64b15b8/attachment.html>

More information about the rspec-users mailing list