Am 31.07.2013 13:42, schrieb Tim Starling:
We could have a library of PHPUnit-style assertion functions which throw exceptions and don't act like eval(), I would be fine with that. Maybe MWAssert::greaterThan( $foo, $bar ) or something.
I like that! Should support an error message as an optional parameter. I suppose we could just steal the method signatures from phpunit.
-- daniel