0
akrabat.com · 14d · discuss
We have a PHPUnit test suite that's taking a while, so I wanted to find out the which tests were taking the longest. With the help of Google, I discovered the --log-junit phpunit-results.xml command line option to phpunit which creates an XML file with the info I need. Running on Slim's codebase, we create the XML file with: $ ./vendor/bin/phpunit --log-junit phpunit-results.xml ... Tests: 436, Assertions: 832, PHPUnit Notices: 37. It looks like this (formatted… continue reading.