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

Make PHPUnit 10.1 XML coverage report and test cases names with provider compatible with Infection and old format #1854

Merged
merged 1 commit into from May 13, 2023

Commits on May 13, 2023

  1. Make PHPUnit 10.1 XML coverage report and test cases names with provi…

    …der compatible with Infection and old format
    
    In PHPUnit >=10 data providers with keys are stored as `Class\\test_method#some key`
    
    In PHPUnit <10 data providers with keys are stored as `Class\\test_method with data set "some key"`.
    
    We need to translate to the old format because this is what PHPUnit <10 and >=10 understand from CLI `--filter` option.
    
    In other words, PHPUnit 10 has a BC break in XML coverage reports that this PR workarounds.
    maks-rafalko committed May 13, 2023
    Configuration menu
    Copy the full SHA
    31a63e8 View commit details
    Browse the repository at this point in the history