Welcome Guest, Not a member yet? Register   Sign In
Testing: Database refresh and migrations
#6

I agree that is a possibility, but honestly at this point I am more invested in the framework encouraging people to write tests than in enforcing proper unit testing protocol. With our current configuration I think it is quite possible someone would read "refresh database between each test?", set $refresh to false, and then have an error when their Seeder failed because the testing database hadn't migrated. That seems to me a bigger deterrent to successful test writing than interdependent tests.
Reply


Messages In This Thread
RE: Testing: Database refresh and migrations - by MGatner - 07-04-2020, 07:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB