RFC #0150: Before and after methods for testcases

at 2008-01-06 in RFCsUnittests by friebe (0 comments)

Scope of Change
There will be a way to run methods prior to and after all tests in a TestCase class. In contrast to setUp() and tearDown() they will be run only once per class and not once per test.

Rationale
Initialize and dispose of resources that are expensive to create, e.g. a server instance, a network connection, ...

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

Related

Find related articles by a search for «RFC».