Re: Asserts in aggregate objects called by a Test::Unit::Tes

Thanks for the response Eric. I looked up add_assert but it didn’t
really help that much since the aggregate object (SubAssertObj) is in a
diff context then the original TestStuff testcase.

However I did do something similar to your other suggestion. I threw the
validation code in a module and I’m now include’ing in my individual
testcases as needed.

Thanks again.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs