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

Learning about testing interdimensional variation graphs in event-sourced systems with at .

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?! ?

thomastospace,
@thomastospace@phpc.social avatar

@jaapio Yeah, I'm all for funding open source, but randomly advertising people's non-existent services together with rates is just not okay.

alessandrolai,
@alessandrolai@phpc.social avatar

@thomastospace @jaapio oh wow, I opened the page and I'm listed as the third possible "helper" 🤦‍♂️ yep, this is a bit "shady" to say the least..

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?)

ramsey,
@ramsey@phpc.social avatar

@thepanz @sebastian He’s not the first author, but @jwage took it over from the original author, which, as I recall is a pretty interesting story.

timmipetit,
@timmipetit@mstdn.social avatar

@thepanz @ramsey @jwage We still maintain a fork as well, runs on the latest php8 (https://github.com/Recras/doctrine1)

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?

sebastian,
@sebastian@phpc.social avatar

@mitelg @scottkeckwarren Should be possible with a custom result printer based on PHPUnit's event system.

scottkeckwarren,
@scottkeckwarren@phpc.social avatar

@sebastian @mitelg thanks I’ll have to look into that

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

cpereira,
@cpereira@framapiaf.org avatar
ramsey,
@ramsey@phpc.social avatar

@cpereira That says they’ll probably jump directly to PHPUnit 11 and skip 10, which is fine with me.

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?

pieceofthepie,
@pieceofthepie@n8e.dev avatar

@heiglandreas "Those aren't dependencies of your application. Just tools..."

Fair, but also, if I remove development dependencies from the my projects if they're just tools then those projects no longer have development dependencies.

Which I guess leads me to "what are development dependencies for if not things needed for development?"

heiglandreas,
@heiglandreas@phpc.social avatar

@pieceofthepie Exactly. Only for development. Your code also earns money without them.

But by adding them to the dev-dependencies you are tying the code that earns money to the tools you only need for development.

By using separate composer.jsons (or PHARs) you can use the tools without tying your code to them and their dependencies.

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! 🎉

ultimike, to drupal
@ultimike@drupal.community avatar

Episode 7 of 9 of Skills Upgrade is now available.

In this episode, I mentor Chad Hester on running some existing tests.

https://talkingdrupal.com/skills-upgrade-7

Thanks to @talkingdrupal for making this all possible!

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? :/

alessandrolai,
@alessandrolai@phpc.social avatar

@Skye I would suggest Playwright (if you can venture outside of PHP, it's really straightforward) or Symfony Panther (if you don't).

  • 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