mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Updated testing-related documentation
This commit is contained in:
parent
07585809b3
commit
74fe3dc733
13
TESTING.md
13
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`
|
||||
`php artisan dusk tests/Browser/LoginTest.php`
|
||||
|
|
Loading…
Reference in a new issue