Skip to content

Split API core tests by feature - #15

Merged
rtcoder merged 1 commit into
masterfrom
release/v0.11.1
Jun 17, 2026
Merged

Split API core tests by feature#15
rtcoder merged 1 commit into
masterfrom
release/v0.11.1

Conversation

@rtcoder

@rtcoder rtcoder commented Jun 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • Keep tests/ApiCoreTest.php as a lightweight test runner.
  • Move shared assertions, request helpers, and the capturing emitter into tests/Support/TestSupport.php.
  • Move test-only controllers, DTOs, middleware, and auth fixtures into tests/Fixtures/TestControllers.php.
  • Split API core coverage into feature files for app dispatch, middleware, modules, request/response, routing, and validation.
  • Update README, REFACTORING.md, and docs/index.html to document the new test layout.

Validation

  • composer validate --strict --no-check-publish
  • composer dump-autoload
  • find src application tests -name '*.php' -print0 | xargs -0 -n1 php -l
  • composer test
  • php shift.php route:list
  • php shift.php health

Release

  • Version label: v0.11.1

@rtcoder rtcoder added the v0.11.1 Release v0.11.1 label Jun 17, 2026
@rtcoder
rtcoder merged commit 4f244cb into master Jun 17, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v0.11.1 Release v0.11.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant