sebastian,
@sebastian@phpc.social avatar

It's that time again: I'm thinking about what I want to share at conferences about #PHP in general and #testing with #PHPUnit in particular.

Feel free to write your ideas and wishes in a reply to this toot.

Crell,
@Crell@phpc.social avatar

@sebastian I've been using PHPUnit for many years, but I know there's features I've never heard of but want to use.

What cool attributes do I not know about? What advanced features can I use that would step-up my game?

Most people (I think) know about data providers and mocking. What's the next level up of tricked-out tests?

sebastian,
@sebastian@phpc.social avatar

@Crell Thank you!

acelaya,
@acelaya@mastodon.social avatar

@Crell @sebastian I recently learned about TestWith, which can be an alternative to data providers for simple cases.

EDIT: sorry, I just realized you were answering Sebastian, not openly asking the community 😅

sebastian,
@sebastian@phpc.social avatar

@acelaya @Crell The TestWith attribute would be on the "Top 10 Features Sebastian Does Not Use Himself" list, I guess ;-)

acelaya,
@acelaya@mastodon.social avatar

@sebastian @Crell Is there any particular reason we should actually avoid it? Or is it just a matter of personal preference?

sebastian,
@sebastian@phpc.social avatar

@acelaya Personal preference.

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