RFC #0187: @expect withMessage

at 2009-08-23 in RFCsUnittests by friebe (0 comments)

Scope of Change
The @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



Subscribe

You can subscribe to the XP framework's news by using RSS syndication.


Categories

News
General
PHP5
Announcements
RFCs
Further reading
Examples
Editorial
EASC
Experiments
Unittests
Databases
5.8-SERIES
Unicode
Language
5.9-SERIES

Related

Find related articles by a search for «RFC».