Code Monkey home page Code Monkey logo

Comments (9)

cortinico avatar cortinico commented on July 18, 2024 1

I did something like this just a while back. I used the this plugin to generate Jacoco reports.
This would be a small change. I did it in my own repo here. Let me know if you want me to work on this.

Hey @nikhil-thakkar
Thanks for the suggestion. Ideally this should be doable by just using the jacoco Gradle plugin without other third party Gradle plugin.

from kotlin-android-template.

cortinico avatar cortinico commented on July 18, 2024 1

Not yet, this issue is up for grab 👍

from kotlin-android-template.

nikhil-thakkar avatar nikhil-thakkar commented on July 18, 2024

I did something like this just a while back. I used the this plugin to generate Jacoco reports.
This would be a small change. I did it in my own repo here. Let me know if you want me to work on this.

from kotlin-android-template.

tonghannteng avatar tonghannteng commented on July 18, 2024

Are you able to generate code coverage with Git Actions? @cortinico @matthewcmckenna

from kotlin-android-template.

trietbui85 avatar trietbui85 commented on July 18, 2024

I'm using https://github.com/vanniktech/gradle-android-junit-jacoco-plugin instead of https://github.com/autonomousapps/jacoco-android-gradle-plugin bcz the latter seems not updated.

from kotlin-android-template.

anandwana001 avatar anandwana001 commented on July 18, 2024

@cortinico

  1. Does jacoco for test files tell only about the lines covered or just the test status(passing/failing/ignored)?
  2. How does Android Studio's test coverage is different then Jacoco

Tried adding jacoco in one of the projects I am working on.

Android Studio Test Coverage


from kotlin-android-template.

cortinico avatar cortinico commented on July 18, 2024

@cortinico

  1. Does jacoco for test files tell only about the lines covered or just the test status(passing/failing/ignored)?
  2. How does Android Studio's test coverage is different then Jacoco

How is this related to this issue? You should probably ask on StackOverflow, Twitter or on Jacoco's issue tracker.

from kotlin-android-template.

anandwana001 avatar anandwana001 commented on July 18, 2024

I put this intentionally here just to understand the requirement of the issue.
Are we looking for a line to line code coverage here or just code coverage for test files for test results?

from kotlin-android-template.

cortinico avatar cortinico commented on July 18, 2024

Are we looking for a line to line code coverage here or just code coverage for test files for test results?

The best would be to have a coverage report for the library- modules that consumer can integrated with their own tool (say codecov or others).

from kotlin-android-template.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.