-
-
Notifications
You must be signed in to change notification settings - Fork 373
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
@coversFile and @coversDirectory annotations #742
Labels
Comments
sebastianbergmann
changed the title
Feature request: @coversFile and @coversDirectory annotations
@coversFile and @coversDirectory annotations
May 9, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sometimes a test covers code that is not a class, for example a template file or a configuration file. It is currently not possible to explicitly collect coverage data for such files, especially when the
forceCoversAnnotation
option is used.I propose two new annotations
@coversFile
and@coversDirectory
for that use-case.Also see sebastianbergmann/phpunit#18 (comment). @dharkness
The text was updated successfully, but these errors were encountered: