mobileatom, to php
@mobileatom@flipboard.com avatar
jaapio, to php Dutch
@jaapio@phpc.social avatar

discovered livetechhelper.com, while the initiative could be positive explained, the execution is horrible! I found https://livetechhelper.com/repos/jaapio/phpunit
I can help with but obviously any income should go to the original maintainers not to me because I created a fork!

Same applies to other projects, should we stop this?! ?

thepanz, to random
@thepanz@phpc.social avatar

Working on the v1 codebase and its test suite, make you realise how much work has been done on , and it simply works! Thank you @sebastian!

At the same time the legacy Doctrine v1 still manages OK-ish in the era of ! Still with no class namespaces and by implementing its own autoloading system! Is it probably from times? 🤔

Kudos to the original authors!
(Are they around here BTW?)

sebastian, to random
@sebastian@phpc.social avatar

I will be at next week to speak about 's test double functionality:

https://www.neoscon.io/talks/testing-with-doubles-why-when-and-how.html

mitelg, to php
@mitelg@phpc.social avatar
oliklee, (edited ) to random German
@oliklee@chaos.social avatar

Nicht vergessen: Vom 17.-19.06. bringe ich euch in Duisburg bei, wie ihr Tests für eure TYPO3-Extensions schreiben könnt:
https://nevercodealone.de/de/php-training/phpunit-tests-fuer-typo3-extensions

scottkeckwarren, to random
@scottkeckwarren@phpc.social avatar

developers, sometimes when I run I receive 100s of errors (in my integration tests) that might only originate from 2 lines. Is there a way to consolidate these based on stack trace?

ramsey, to php
@ramsey@phpc.social avatar

How does one use PHPUnit 10 or 11 with Symfony 7? The PHPUnit Bridge includes instructions that will only work for PHPUnit 9.

https://symfony.com/doc/current/components/phpunit_bridge.html

pieceofthepie, to php
@pieceofthepie@n8e.dev avatar

Oh this is fun. I can't upgrade to 11 as it needs PHP-Parser 5+.

Which I can't use as needs 4+.

Not to mention this project itself needs PHP-Parser so that upgrade in of itself means work on my part.

Is this where I start using a PHAR?

ShopwareDevs, to Symfony
@ShopwareDevs@phpc.social avatar

We have amazing speakers waiting for you at #SCD24. One of them is @sebastian , sharing insights on #PHPUnit for #Shopware developers 😍! Check out the full schedule at https://scd.shopware.com/en-US/program. Can't wait to see you there! 🎉

phpunit, to random
@phpunit@phpc.social avatar
Skye, to php German
@Skye@chaos.social avatar

Gargh, I got really used to Laravel Dusk letting me write super simple browser testing tests with / but now I need that kinda test in a non-Laravel project.

I guess my best bet is straight up Selenium? :/

phpunit, to random
@phpunit@phpc.social avatar
sebastian, to random
@sebastian@phpc.social avatar

I worked so much on 11.2 the last week or so that I almost forgot that PHPUnit 11.1 will be released tomorrow:

https://github.com/sebastianbergmann/phpunit/blob/cd49a71c9a0a2f3c3ee48f097c4d4130eb0c301a/ChangeLog-11.1.md#1110---2024-04-05

Some nice new features will land in the hands of users soon.

sebastian, to random
@sebastian@phpc.social avatar
sebastian, to random
@sebastian@phpc.social avatar

With his contributions today, @markusstaab has entered the Top 10 of contributors:

https://github.com/sebastianbergmann/phpunit/graphs/contributors

Thank you, Markus, for your work!

dbu, to random
@dbu@phpc.social avatar
phpunit, to random
@phpunit@phpc.social avatar
markusstaab, to random German
@markusstaab@phpc.social avatar

With todays contributed patch, process isolation on windows has 20-25% less overhead per test.

phpunit end-to-end test-suite is running 15 seconds faster.

should translate to any process isolated test on windows after next release.

dbu, to random
@dbu@phpc.social avatar

asking for some tech help: in the FOSHttpCache test listener, we start a PHP web server if needed. with phpunit 9, we checked the test suite for a specific group to know if we need to start it. i am moving to phpunit 10 but can't find how to detect the groups anymore: https://github.com/FriendsOfSymfony/FOSHttpCache/pull/565/files#r1538713152
#phpunit

sebastian, to php
@sebastian@phpc.social avatar

Over the last few months, I've been asked time and again:

"Sebastian, which PHP extension do you use to collect code coverage data?"

This question may sound simple, but to answer it I'm afraid I need to elaborate a little ...

https://thephp.cc/articles/pcov-or-xdebug?ref=mastodon

phpunit, to random
@phpunit@phpc.social avatar
sebastian, to berlin
@sebastian@phpc.social avatar

I am happy to announce that I will return to #SymfonyLive #Berlin this year.

Come to my talk "Testing with Doubles: Why, When, and How?" and learn the ins and outs of stubs and mocks. You will understand how #PHPUnit's test double functionality works and which parts of it you should stay clear of.

markusstaab, to opensource German
@markusstaab@phpc.social avatar

anyone aware of a which is heavily relying on process isolation?

I am working on reducing overhead of process isolation and would love testing my progress on a real world test-suite.

RT welcome

oliklee, to php German
@oliklee@chaos.social avatar

Die -Beispielextension zum mit und die -Live-Templates von meiner Session auf dem sind hier zu finden: https://github.com/FriendsOfTYPO3/tea/ https://github.com/oliverklee/tdd-reader/tree/main/Resources/PhpStorm

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines