Skip to content

PHPUnit problem matchers not showing up #451

Discussion options

You must be logged in to vote

@dityaaa
Current problem matcher patterns in phpunit.json do not support custom error messages in assertions.

You can use the teamcity reporter in phpunit and mheap/phpunit-matcher-action GitHub Action to generate annotations

- name: Configure matchers
  uses: mheap/phpunit-matcher-action@v1
- name: Run Tests
  run: phpunit --teamcity Tests

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dityaaa
Comment options

Answer selected by dityaaa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants