Commit 2a54f95
committed
test(structure): split unit and integration suites; update tooling
- Move all existing tests under tests/Unit/ to prepare for dedicated integration tests.
- Add empty tests/Integration/ suite in phpunit.xml.
- Update phpunit.xml to define separate "unit" and "integration" test suites.
- composer.json:
- Add `test` script (all tests) and `test:unit` for unit suite only.
- Makefile:
- Update `test` target to run new composer test scripts.
- Add `test-unit` target.
This allows running unit tests by default (make test / composer run test:unit)
while keeping integration tests isolated and triggered manually.1 parent 5aad44e commit 2a54f95
File tree
26 files changed
+13
-6
lines changed- tests/Unit
- Console
- Filters
- Models
- Drivers
- Validation
26 files changed
+13
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments