Closed
Description
- Move test execution logic out of
TestResult
- Use
TestResult
just as a Collecting Parameter to collect test results
- Use
- Before the test execution starts
- Use a
TestSuiteIterator
to get all tests that are to be run from the top-levelTestSuite
- Use
FilterIterator
implementations to filter tests based on--filter
,--group
, and--exclude-group
, for instance - This allows the number of tests that are to be run to be calculated correctly before the tests are actually run
- Use
- Sort the tests according to
@depends
annotations
- Use a
- Delay creation of
TestCase
objects and clean them up immediately after a test has been run- Allows for more elegant implementation of test execution in isolated PHP processes
- Allows for running the tests in random order
- Reduces memory footprint