@coversFile and @coversDirectory annotations #5983
Labels
feature/code-coverage
Issues related to code coverage (but not php-code-coverage)
feature/metadata
Issues related to attributes and annotations
type/enhancement
A new idea that should be implemented
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 #18 (comment). @dharkness
The text was updated successfully, but these errors were encountered: