Re: [java code coverage] Runtime custom coverage filter

2024-05-25 Thread Marc Hoffmann
Hi Diego, JaCoCo records all executions. If multiple users use the API at the same time, there is no chance to collect coverage for a specific user. It requests are serialized, you can add some custom code at the entry point of your service that does the magic (using the JaCoCo runtime API) if

Re: [java code coverage] Runtime custom coverage filter

2024-05-25 Thread Diego Flávia
Hi Marc, 1. Yes, that's exactly what I need. The API test suite runs in a shared environment, where other users might be using, so I want to collect coverage information only for the user configured in the API test suite. 2. Nice! I'll take a look. Thank you. Regards, Diego Em ter., 21 de mai

Re: [java code coverage] Runtime custom coverage filter

2024-05-20 Thread Marc Hoffmann
HI Diego, 1. Can you please elaborate on this a bit more? Do you mean that you want to collect coverage information only for specific users? 2. Yes it is. JaCoCo has an in-process API as well es a remote contr