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

Add API to get or save the binary report inside Kover Offline Runtime #503

Closed
shanshin opened this issue Nov 6, 2023 · 1 comment · Fixed by #500
Closed

Add API to get or save the binary report inside Kover Offline Runtime #503

shanshin opened this issue Nov 6, 2023 · 1 comment · Fixed by #500
Assignees
Labels
Feature Feature request issue type S: ready for release Status: merged in the main branch

Comments

@shanshin
Copy link
Collaborator

shanshin commented Nov 6, 2023

There is a need to add two methods to the kover-offline-runtime API:

  • kotlinx.kover.offline.runtime.api.KoverRuntime#getReport()[B - getting a binary report in ic format as an byte array
  • kotlinx.kover.offline.runtime.api.KoverRuntime#saveReport(Ljava.io.File;)V - saving a binary report in ic format to a file at the specified path. If the file does not exist, it will be created. If a file with that name already exists, it will be overwritten.
@shanshin shanshin added the Feature Feature request issue type label Nov 6, 2023
@shanshin shanshin self-assigned this Nov 6, 2023
shanshin added a commit that referenced this issue Nov 15, 2023
- implemented API method to get binary report as a byte array
- implemented API method to save binary report
- bump Intellij Coverage Library to `1.0.740`

Co-authored-by: Leonid Startsev <sandwwraith@users.noreply.github.com>

Resolves #503
PR #500
@shanshin shanshin reopened this Nov 15, 2023
@shanshin shanshin added the S: ready for release Status: merged in the main branch label Nov 15, 2023
@shanshin
Copy link
Collaborator Author

Implemented in 0.7.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Feature request issue type S: ready for release Status: merged in the main branch
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant