Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Behat tests #108

Merged
merged 1 commit into from
Apr 8, 2024
Merged

Support Behat tests #108

merged 1 commit into from
Apr 8, 2024

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Apr 8, 2024

Behat is a BDD framework for PHP to help you test business expectations.

Behat tests are written in classes which implement the Behat\Behat\Context\Context interface.

This PR adds the marker interface to the isTestClass utility function, which makes sure that BDD testing methods are taken into account like PHPUnit testing methods

  • don't report tests as beeing only called locally
  • detect application methods which are only called from with tests
  • ...

@TomasVotruba
Copy link
Owner

Legit 👍 Thank you

@TomasVotruba TomasVotruba merged commit c64cf32 into TomasVotruba:main Apr 8, 2024
7 checks passed
@staabm staabm deleted the behat branch April 9, 2024 05:08
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.

2 participants