Skip to content

Collect code coverage of the client in unit tests - #34

Merged
pavog merged 1 commit into
masterfrom
align-tests-workflow
Oct 16, 2026
Merged

pavog merged 1 commit into
masterfrom
align-tests-workflow

Conversation

@pavog

@pavog pavog commented Oct 16, 2026

Copy link
Copy Markdown
Member

This PR adds a coverage report to the unit tests.

tests.yaml

  • PHP is set up with pcov.
  • The unit tests write a clover report to coverage.xml.

phpunit.xml.dist

  • Coverage is only collected for src/Client. The generated code in src/Api and src/Model is not tested directly.
  • The test suites point to tests/Unit/Client and tests/Integration/Client, where all tests are located.

@pavog
pavog merged commit c613068 into master Oct 16, 2026
3 checks passed
@pavog
pavog deleted the align-tests-workflow branch October 16, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant