-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
type/refactoringA refactoring that should be applied to make the code easier to understand and maintainA refactoring that should be applied to make the code easier to understand and maintain
Description
- Move test execution logic out of
TestResult- Use
TestResultjust as a Collecting Parameter to collect test results
- Use
- Before the test execution starts
- Use a
TestSuiteIteratorto get all tests that are to be run from the top-levelTestSuite- Use
FilterIteratorimplementations 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
@dependsannotations
- Use a
- Delay creation of
TestCaseobjects 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
epdenouden, aolley and localheinz
Metadata
Metadata
Assignees
Labels
type/refactoringA refactoring that should be applied to make the code easier to understand and maintainA refactoring that should be applied to make the code easier to understand and maintain