RFC #0187: @expect withMessageat 2009-08-23 in RFCs, Unittests by friebe (0 comments) Scope of ChangeThe @expect annotation will be enhanced to provide a means for also checking the expected exception's message. Rationale Ensuring a certain exception message requires the "old-style" approach with try, fail(); and the checking the message inside catch (ExpectedException $expected), a construct we successfully removed the need for with @expect years ago. Read the full RFC here |
|