Hi junliang, while it should be possible to do JaCoCo development with IntelliJ the repository has all configuration files für Eclipse. So if you import the project into Eclipse with M2E installed everything should be set for development.
JaCoCo is fully unit tested. So for every piece of code you can play with the respective tests to understand the behaviour. Also documentation contains some chapters about the architecture and some implementation details: * https://www.jacoco.org/jacoco/trunk/doc/implementation.html <https://www.jacoco.org/jacoco/trunk/doc/implementation.html> * https://www.jacoco.org/jacoco/trunk/doc/flow.html <https://www.jacoco.org/jacoco/trunk/doc/flow.html> What you want to do has been implemented before without modifying JaCoCo: The approach was to hook into test framework (e.g. JUnit) and use JaCoCo’s runtime API to dump execution data after every test. Not that in any case the amount created data is enormous. Best regards, -marc > On 20. Sep 2023, at 15:42, 'Lu Junliang' via JaCoCo and EclEmma Users > <[email protected]> wrote: > > Hi guys, > > Before elobrating my question, please allow me introduce some background > about my requirements > > i want to combine Jacoco coverage dections with test case in order to make > testing more accurate. > So I want to change one-dimensional boolean probes records to two-dimensional > probes records, such as Map<String, boolean[]> , it can find the accurate > test case which cover the code. > > i've clone jacoco from github to IDEA, how can i start to debug jacoco > project and do some development? > want to knows how probes init and insert, helping complete my requirements > > So any tips? > > Thx > > junliang > > > -- > 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/346fcc5b-b015-4509-ab7d-acaafa2b9efcn%40googlegroups.com > > <https://groups.google.com/d/msgid/jacoco/346fcc5b-b015-4509-ab7d-acaafa2b9efcn%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/6DD3CECC-25DF-42CF-8D67-0E56FF18D1B5%40mountainminds.com.
