sarvendev.com

Crell, to php in Rethinking Mocking: DIY Approach vs. Frameworks on examples in PHP and Typescript - SarvenDev
@Crell@phpc.social avatar

@symfonystation You forgot the benefits of anonymous classes. I almost never use a mocking framework anymore since they were added.

https://peakd.com/php/@crell/don-t-use-mocking-libraries

symfonystation,
symfonystation avatar

@Crell I did not write this but I appreciate your point.

walter_wiggles, to php in Rethinking Mocking: DIY Approach vs. Frameworks on examples in PHP and Typescript - SarvenDev

This is bad advice. Mocking libraries have come from many years of experience. Rolling your own test library will be like reinventing the wheel, but with less documentation and more inconsistencies.

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