Skip to content

mapTestClassNameToCoveredClassName has no effects #260

@jg-development

Description

@jg-development

We are using the phpunit.xml class with the option mapTestClassNameToCoveredClassName.
With 4.1.4 it does not have any effect? Is this still an option?

We have the intention to autocover the related Class (and only the related class).
Example:
forceCoversAnnotation=true
mapTestClassNameToCoveredClassName=true

ClassName:
Date
TestName:
DateTest

It seems this is currently not possible?
We decided to implement a getter in the CodeCoverage.php and changed the "getLinesToBeCovered" method. Is a pull request an option?

Greeting Jan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions