You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- We are using PHPUnit for testing - if you see an example using Pest as part of a prompt, convert it to PHPUnit.
3
+
- We are using PHPUnit for testing. All tests must be written as PHPUnit classes.
4
+
- If you see a test using "Pest", convert it to PHPUnit.
4
5
- Every time a test has been updated, run that singular test.
5
-
- When the tests relating to your feature are passing, make sure to also run the entire test suite to make sure everything is still passing.
6
-
- Tests should test all of the the unhappy paths, happy paths, and weird paths.
6
+
- When the tests relating to your feature are passing, ask the user if they'd like to also run the entire test suite to make sure everything is still passing.
7
+
- Tests should test all of the unhappy paths, happy paths, and weird paths.
7
8
- You must not remove any tests or test files from the tests directory without approval. These are not temporary or helper files, these are core to the application.
8
9
9
10
@@ -12,4 +13,3 @@
12
13
- Run all tests: `php artisan test`.
13
14
- Run all tests in a file: `php artisan test tests/Feature/ExampleTest.php`.
14
15
- Filter on particular test name: `php artisan test --filter=testName` (recommended after making a change to a related file).
15
-
- When the tests relating to your feature are passing, make sure to also run the entire test suite to make sure everything is still passing.
0 commit comments