Hi, theoretically JaCoCo can be used with any class files. If there is is no coverage shown at all this looks like a general problem with the setup. Please see this FAQ <https://www.jacoco.org/jacoco/trunk/doc/faq.html> entry; > Why does a class show as not covered although it has been executed? > > First make sure execution data has been collected. For this select the > Sessions link on the top right corner of the HTML report and check whether > the class in question is listed. If it is listed but not linked the class at > execution time is a different class file. Make sure you're using the exact > same class file at runtime as for report generation. Note that some tools > (e.g. EJB containers, mocking frameworks) might modify your class files at > runtime. Please see the chapter about class ids > <https://www.jacoco.org/jacoco/trunk/doc/classids.html> for a detailed > discussion. >
But there is no official support for Clojure. Unlike Java, Kotlin, Scala and Groovy we don’t have integration tests for it. Regards, -marc > On 16. Sep 2022, at 00:50, HalloweenEngineer <[email protected]> > wrote: > > When I import the jacoco.exec into IntelliJ, I see java coverage, but no > Clojure coverage. Is that supposed to work or is Clojure not supported? > > I've tried using the cli to generate an html report and am not seeing > coverage of clj files there either, although it does at least show the > clojure files. It just indicates they are 100% not covered. > > Is it supposed to work? If it is, is there something I need to do with the > javaagent config to make it work? > > -- > You received this message because you are subscribed to the Google Groups > "JaCoCo and EclEmma Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jacoco/4f8c443b-0b21-4699-bee1-a749f1559833n%40googlegroups.com > > <https://groups.google.com/d/msgid/jacoco/4f8c443b-0b21-4699-bee1-a749f1559833n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/4FAC02CD-E878-475E-82FA-23A3B788F89D%40mountainminds.com.
