From: Kga Agk Date: 2009-06-19T22:59:52+09:00 Subject: Re: Testing, collecting and printing of custom error messages Is there somthing like. If assertion is false, then do somthing. Becouse i want to store my own easy error messages in adition to those the test framework prints out. I can do this by writing som extra code, or my own assertion methods, but i thought it might be a easye way, just by using those asertions that already are there. Somthing like this should hav worked. if assert(false) == false then report.pushError("It was false") end or if i wrote this assert false, report.pushError("It was false") then the secound parameter would only be don when the assertion was false, and not when it is true also, as it dos now. -- Posted via http://www.ruby-forum.com/.