|
From: Marcus B. <ma...@la...> - 2010-10-27 09:24:17
|
Hi... Roy Smith wrote: > One thing I was a bit surprised to discover is that UnitTestCase::assertTrue(), etc, returns False on failure, instead of throwing. This is just history. SimpleTest is one of the oldest unit testing frameworks around and goes back to befor ethis behaviour was standard. It also predates exception support in PHP. Throwing exceptions is one of the changes that will be happening after the interim 1.1 release, along with other changes to the mechanics. yours, Marcus |