langleyfoxall / laravel-boilerplate

Boilerplate for Laravel with common tools/plugins for ease of development.
MIT License
2 stars 4 forks source link

[Dusk] Implement optimised database setup #3

Open DivineOmega opened 6 years ago

DivineOmega commented 6 years ago

Rather than using DatabaseMigrations in the DuskTestCase class, we should use an optimised database setup that migrates only once and then simply truncates the tables before each test.

This functionality has been implemented on another project, and simply need moving over.

DivineOmega commented 5 years ago

This is less urgent due to the implementation of #33.