Andrew Wallo пре 1 година
родитељ
комит
2e13cc6703
1 измењених фајлова са 23 додато и 0 уклоњено
  1. 23
    0
      README.md

+ 23
- 0
README.md Прегледај датотеку

@@ -191,6 +191,29 @@ public static function getAllLanguages(): array
191 191
 }
192 192
 ```
193 193
 
194
+## Testing
195
+
196
+This project includes testing using [Pest](https://pestphp.com/). The current
197
+test suite covers some reporting features and other core functionality. While it's not yet a fully comprehensive test
198
+suite, it provides a foundation for testing critical features.
199
+
200
+### Setting Up the Testing Environment
201
+
202
+#### Create a testing database
203
+
204
+Ensure that you create a separate testing database named `erpsaas_test` in your database management system (e.g.,
205
+MySQL).
206
+
207
+```bash
208
+CREATE DATABASE erpsaas_test;
209
+```
210
+
211
+### Running Tests
212
+
213
+The testing process automatically handles refreshing and seeding the test database with each test run, so no manual
214
+migration is required. For more information on how to write and run tests using
215
+Pest, refer to the official documentation: [Pest Documentation](https://pestphp.com/docs).
216
+
194 217
 ## Dependencies
195 218
 
196 219
 - [filamentphp/filament](https://github.com/filamentphp/filament) - A collection of beautiful full-stack components

Loading…
Откажи
Сачувај