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

Speed up JUnit 5 coverage by supporting single phase test discovery/execution #1040

Merged
merged 2 commits into from
Jun 22, 2022

Commits on Jun 21, 2022

  1. remove dependency distance support

    Henry Coles committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    d3c0bcd View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2022

  1. support mixed discovery/execution of tests

    Unlike JUnit 3 & 4, JUnit 5 does not seperate the concept of discovering
    and executing test, running them as they are found. This resulted in
    very efficient coverage calculation for pitest. Each JUnit 5 tests was
    executed twice.
    
    This change updates pitest to support both models (seperate discovery,
    and single stage) by adding a listener to the TestUnitFinder interface
    to detect test execution during discovery.
    Henry Coles committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    4875ec7 View commit details
    Browse the repository at this point in the history