Skip to content

A free open source IT asset/license management system

Add note about database requirements when running Dusk tests

Marcus Moore51da747809ff
diff --git a/TESTING.md b/TESTING.md
index a1706177a9..8a430d498e 100644
--- a/TESTING.md
+++ b/TESTING.md
@@ -50,6 +50,8 @@ Before attempting to run Dusk tests copy the example environment file for Dusk a
`cp .env.dusk.example .env.dusk.local`
> `local` refers to the value of `APP_ENV` in your `.env` so if you have it set to `dev` then the file should be named `.env.dusk.dev`.
+**Important**: Dusk tests cannot be run using an in-memory SQLite database. Additionally, the Dusk test suite uses the `DatabaseMigrations` trait which will leave the database in a fresh state after running. Therefore, it is recommended that you create a test database and point `DB_DATABASE` in `.env.dusk.local` to it.
+
### Test Setup
Your application needs to be configured and up and running in order for the browser