Closed llaville closed 23 hours ago
Rather than previous JUnit report results, I'd like to have this one :
<testsuite name="dev dependencies in production code" failures="4" tests="2">
<testcase name="php-parallel-lint/php-console-highlighter">
<failure message="PHP_Parallel_Lint\PhpConsoleHighlighter\Highlighter">
src/Converter/AbstractConverter.php:461
</failure>
</testcase>
<testcase name="symfony/console">
<failure message="Symfony\Component\Console\Command\Command">
src/Console/Command/ConvertCommand.php:44
src/Console/Command/ConvertCommand.php:164
</failure>
<failure message="Symfony\Component\Console\Input\InputArgument">
src/Console/Command/ConvertCommand.php:53
src/Console/Command/ConvertCommand.php:58
</failure>
<failure message="Symfony\Component\Console\Input\InputInterface">
src/Console/Command/ConvertCommand.php:88
src/Converter/Reporter/PhpInsightsFormatter.php:27
src/Converter/Reporter/PhpInsightsFormatter.php:36
</failure>
</testcase>
</testsuite>
That follows better Junit schema : see at https://llg.cubic.org/docs/junit/
Especially the testsuite
failures and tests counter that match reality (that should be adapted if we use of course the --show-all-usages
option)
PS: without \n
it's better
I generally agree, lets get rid of that + 3 symbols
and invalid \n
.
Hello,
While I may understand that we can summarize usage in
console
output format like thisIt's very difficult to exploit from JUnit report. Here are a chunk of it corresponding to previous screenshot.
Uses of EOL
\n
and+ 3 more symbols
termsUnless we specify
--show-all-usages