Split tests in unit and integration tests #15

Open
opened 2026-06-04 18:16:37 +02:00 by c.fahner · 2 comments
Owner

Separate the tests/ directory into tests/unit/ and tests/integration/.

Remove the tests for Handler and ArgumentCasts (move the cases to the integration tests).

Also update phpunit.xml to declare two test suites.

Separate the `tests/` directory into `tests/unit/` and `tests/integration/`. Remove the tests for `Handler` and `ArgumentCasts` (move the cases to the integration tests). Also update `phpunit.xml` to declare two test suites.
c.fahner added this to the v0.1 milestone 2026-06-04 18:16:37 +02:00
Author
Owner

This means the small amount of code remaining in Resource\Handler can also be moved to Application directly.

Edit: this has now been done during development of #1.

~~This means the small amount of code remaining in `Resource\Handler` can also be moved to `Application` directly.~~ Edit: this has now been done during development of #1.
Author
Owner

Partially resolved by #1 (the Handler has been integrated into the integration tests). Should check if the code in tests/Resource/Mocked*.php is still used.

Partially resolved by #1 (the `Handler` has been integrated into the integration tests). Should check if the code in `tests/Resource/Mocked*.php` is still used.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
slendium/framework#15
No description provided.