-
Notifications
You must be signed in to change notification settings - Fork 0
New scoverage plugin #35
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
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
Introduce a new scoverage plugin to integrate Scala code coverage into the build. - Added ScoverageRewrite to automatically configure projects with scoverage compiler options and dependencies based on Scala version. - Added ScoverageScript providing CLI commands to run tests and generate coverage reports in multiple formats (html, xml, cobertura, console). - Defined a helper for coverage data directory in package object. - Updated bleep.yaml and bleep.publish.yaml to include the new plugin. This enables seamless code coverage measurement and reporting within the bleep build system.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a new scoverage plugin for Bleep to enable code coverage reporting capabilities. The plugin integrates with the Scala coverage tool scoverage and provides both test execution with coverage instrumentation and report generation functionality.
- Adds a new bleep-plugin-scoverage project with coverage compilation and reporting features
- Implements both Scala 2 and Scala 3 coverage support with appropriate compiler options
- Provides multiple report formats (HTML, XML, Cobertura, Console) and test execution commands
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| bleep.yaml | Adds the new bleep-plugin-scoverage project configuration with required dependencies |
| bleep.publish.yaml | Includes the new plugin in the list of projects to be published |
| bleep-plugin-scoverage/src/scala/bleep/plugins/scoverage/package.scala | Defines utility function for coverage data directory path |
| bleep-plugin-scoverage/src/scala/bleep/plugins/scoverage/ScoverageScript.scala | Implements the main plugin script with test and report commands |
| bleep-plugin-scoverage/src/scala/bleep/plugins/scoverage/ScoverageRewrite.scala | Provides build rewrite logic to add coverage instrumentation to non-test projects |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
No description provided.