You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
sebastianbergmann
changed the title
Feature request: @coversFile and @coversDirectory annotations
@coversFile and @coversDirectory annotations
May 9, 2020
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: