Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Is it possible to support Snipe Migrations on the DatabaseMigrations trait? #20
I don't have a way to use it out of the box, but here's the code I've used in an app recently to get it working.
@drfraker Thank you! All I can say is wow... This is phenomenal stuff!
My Dusk tests were previously taking up to 20 minutes to run. After implementing your suggestion above, I'm down to just 7 minutes!
I was also able to save more time by pre-running database seeds too, and saving them to the snapshot. Each of my test cases previously seeded the database before running the test using
This saved time re-running all the DB seeds on every test too, and seems like it could be an interesting thing to build in to Snipe Migrations natively.
Is this something you're working on? Otherwise, I would be happy to help contribute