SuitedUpDev,
@SuitedUpDev@mastodon.online avatar

Can you tell I really dislike 'use DatabaseMigrations' ? 😅

shaedrich,
@shaedrich@mastodon.online avatar

@SuitedUpDev "Show me your git history and I tell you who you are"?

SuitedUpDev,
@SuitedUpDev@mastodon.online avatar

@shaedrich thank god, it's not me... I've never used DatabaseMigrations in testing.

I really dislike using that, especially because it destroys my local development database when I try to run my test.

shaedrich,
@shaedrich@mastodon.online avatar

@SuitedUpDev Yeah, it's either this or a separate database instance for testing. I've done this among other options, and it kinda depends on the project. But when one doesn't work on this project alone, it should first and foremost have no surprises. When it destroys the local development database of unsuspecting coworkers, the office could descend into war quite quickly.

SuitedUpDev,
@SuitedUpDev@mastodon.online avatar

@shaedrich Yeah exactly, that's why, in the past I was pretty vocal about this type of stuff.

The backstory of this is, that this is a project which I started working on ~ 2,5 years ago, I then left that employer and now that client has returned to me in freelance capacity.

But my 'successors' did a real number on this project. So this is one of the many things that happened to this codebase. :sadness:

SuitedUpDev,
@SuitedUpDev@mastodon.online avatar

Fuck me... I really hate it that certain tests depend on the fact that there is nothing in the database 🙄

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