-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buffered TestDox printer #3417
Buffered TestDox printer #3417
Conversation
Codecov Report
@@ Coverage Diff @@
## 7.5 #3417 +/- ##
============================================
- Coverage 83.49% 83.18% -0.31%
- Complexity 3575 3620 +45
============================================
Files 143 143
Lines 9513 9637 +124
============================================
+ Hits 7943 8017 +74
- Misses 1570 1620 +50
Continue to review full report at Codecov.
|
@sebastianbergmann Working on the TestDox has given me good insight in what is required for improving the TestHook interface as mentioned in #3390 |
This addition provides a working solution to #3380. For Nikolaus you wanted:
Refactoring the TextDox printer turned out be a bit of work. To clean up the internal
TestResult
magic I ended up rewriting large parts. Still some minor cleaning up to do, but it's good enough for daily use.Changes
TestSuiteSorter
now calculates and stores the original execution order before a runTestSuiteSorter::getTestSorterUID
CliTestDoxPrinter
extension when requiredHow to test
Edit
phpunit.xml
and switch toverbose=false
. Then run the test suite in both buffered and unbuffered TestDox mode:Notes