pnie, German

If you'd need some utility method/class that is just used within testing context, where would you put that?

-practice

danielsiepmann,

@pnie Classes/Testing.
And maybe exclude it from distribution. E.g. via .gitattributes, like test folder.

pnie,

@danielsiepmann thx, sounds reasonable ;)

danielsiepmann,

@pnie Just how I do it myself. Maybe check TYPO3 cores way

helhum,
@helhum@chaos.social avatar

@danielsiepmann @pnie I'd always put those somewhere in the testing folder / namespace. No need to "pollute" the Classes folder with code not relevant for production

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