These quesions motivated me to improve how PHPUnit's CLI test runner handles options. The next bugfix releases for PHPUnit 10.5 and PHPUnit 11.0 will warn about confusing behaviour and PHPUnit 11.1 will bring more improvements.
Looking for a #rector rule to change #phpunit@test@norden.social annotation to #[Test] attribute. Could only find something for '@dataProvider' and '@testWith`. Any pointers?
This Friday, February 16, 2024, from 10:00 to 12:00 (Europe/Berlin), I will explain the motivation behind the most important changes in #PHPUnit 11 and demonstrate them with live coding. We will cover new features as well as migrating from PHPUnit 10 to PHPUnit 11.
This online event is part of thePHP.cc's education flatrate, but is free and open to all.
Would you like to attend? Just send me an e-mail with the subject "PHPUnit 11 Live Demonstration" to sebastian@thephp.cc.
On February 16, 2024 from 10:00 to 12:00 (Europe/Berlin), two weeks from today, I will explain the motivation behind the most important changes in #PHPUnit 11 and demonstrate them with live coding.
This event, which is part of our education flatrate's curriculum, will be open to the public and in English.
Woke up and released #PHPUnit 11's dependencies before breakfast. I already have a 11.0.0 tag, but have not pushed it yet.
After I had some tea, I will run some final tests and then push the tag, publish the PHAR, update the website, start the development of PHPUnit 11.1, etc.
#PHP folks, what framework-agnostic tooling (as in not #Symfony / #Laravel / #Laminas etc) are you using for running headless browser-based tests these days via something like #PHPUnit?
I'm looking at setting something up in #Docker on #macOS, I've tried Symfony Panther and it's been a shitshow of errors and not being able to get #Chrome or #Firefox running in Docker :/
Trying to find a straightforward way to merge XML coverage reports generated by #phpunit via #CodeCeption. The end goal is a nice HTML report. I can generate the HTML report or XML for a single chunk, but none of the tooling I can find to combine the chunks works. There's an open bug in #phpcov which prevents the serialized PHP reports from being able to be combined.
I'd consider tools in php, python, node, rust, or binaries for mac or linux.
If you install #PHPUnit using Composer (which is not the recommended way) then you can now use both PHPUnit 9.6 and PHPUnit 10.5 in projects that depend on either PHP-Parser 4 or PHP-Parser 5.