From 74fe3dc733dde8c10c9e36b148b2681c95b97d07 Mon Sep 17 00:00:00 2001 From: Chris Hartjes Date: Fri, 26 Aug 2022 13:55:12 -0400 Subject: [PATCH] Updated testing-related documentation --- TESTING.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/TESTING.md b/TESTING.md index e18f6bca7d..6624289758 100644 --- a/TESTING.md +++ b/TESTING.md @@ -47,10 +47,19 @@ The browser tests use [Dusk](https://laravel.com/docs/8.x/dusk) to run them. When troubleshooting any problems, make sure that your `.env` file is configured correctly to run the existing application. -To run the test suite use the following command from your terminal: +### Test Setup + +Your application needs to be configued and up and running in order for the browser +tests to actually run. When running the tests locally, you can start the application +using the following command: + +`php artisan serve` + + +To run the test suite use the following command from another terminal tab or window: `php artisan dusk` To run individual test files, you can pass the path to the test that you want to run. -`php artisan dusk tests/Browser/LoginTest.php` \ No newline at end of file +`php artisan dusk tests/Browser/LoginTest.php`