Bad phpunit configuration
remicollet opened this issue · comments
When running its test suite
PHPUnit 7.4.3 by Sebastian Bergmann and contributors.
Runtime: PHP 7.3.0RC4
Configuration: /dev/shm/BUILD/php-token-stream-c99e3be9d3e85f60646f152f9002d46ed7770d18/phpunit.xml
Warning - The configuration file did not pass validation!
The following problems have been detected:
Line 8:
- Element 'testsuite': The attribute 'name' is required but missing.
Test results may not be as expected.
......................................... 41 / 41 (100%)
Time: 28 ms, Memory: 6.00MB
OK (41 tests, 106 assertions)
What was the solution? I just got this as well
For those who's here like me, but see a closed status instead of a visible solution, here's what will solve this:
Change
<testsuite>
into
<testsuite name="default">
Source: the commit