With this release, Paraunit replaces the suggestion of facile-it/paraunit-testcase
with dama/doctrine-test-bundle
; also there’s a new feature that will report any test failure due to deprecation warnings catched by the Symfony PHPUnit Bridge.
In the latest months I wrote multiple times, in different projects, code migrating PHPUnit toward major version 6. This upgrade is harder than the previous one, since in this version it was introduced a big breaking change: all classes got (finally!) namespaced.
This means that any usage of those classes in your project needs to be updated. It may seem a simple find & replace job, but since you need to introduce at least one use PHPUnit\Framework\TestCase line at the top of each one of your test classes, it’s a boring and a little more than trivial task; also, upgrading it in a single big jump may not be feasible or prudent, especially in the case of open source or distributed libraries, where backward compatibility and support for old PHP versions must be ensured.
With this release, I’m grouping a few fixes and improvements that I collected in the past month. Mainly, I’ve fixed the --debug
option and the --text-to-console
coverage output. Also, now the logo is optional, and at the end of each line it’s printed a partial count of executed tests.
Another small issue solved with a small patch, and PHP 7.2 support comes along!
Same day of the first release, a small patch follows!