-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
ciChanges to CI workflowsChanges to CI workflowsgood first issuegood first issue for contributorsgood first issue for contributorsmavenChanges within Maven manifestsChanges within Maven manifeststestingImprovements to test packsImprovements to test packs
Description
In the java-compiler-testing Maven module:
- Use the JUnit Platform Suite API to define runners with selectors for unit tests and integration tests.
- Instruct maven-surefire-plugin to only run the unit test suite.
- Include maven-failsafe-plugin in parent POM plugin management, and add to java-compiler-testing module.
- Configure failsafe to only run the integration test suite in the java-compiler-testing module.
- Configure JaCoCo to attach an agent to failsafe for integration tests.
- Configure JaCoCo to merge coverage reports for unit and integration tests.
- Ensure codecov in CI still picks up the same coverage.
Edit: looks like codecov has a nifty feature flag option we can use to help get coverage on unit tests and integration tests in PRs:
Metadata
Metadata
Assignees
Labels
ciChanges to CI workflowsChanges to CI workflowsgood first issuegood first issue for contributorsgood first issue for contributorsmavenChanges within Maven manifestsChanges within Maven manifeststestingImprovements to test packsImprovements to test packs