Stream: dev

Topic: code coverage


view this post on Zulip Philip Durbin 🚀 (Oct 05 2026 at 14:06):

Let's talk about code coverage.

https://github.com/IQSS/dataverse-frontend shows 97%, which is awesome:

Screenshot 2026-10-05 at 10.04.21 AM.png

https://github.com/IQSS/dataverse shows 26% for unit tests and "inaccessible" for API tests:

Screenshot 2026-10-05 at 10.05.27 AM.png

view this post on Zulip Ash Manda (Oct 05 2026 at 14:11):

I have had trouble getting JaCoCo reports out of the Integration Test runners.

view this post on Zulip Ash Manda (Oct 05 2026 at 14:12):

At the time, it was turning into a blocker, so I put it aside, but let me take another crack at it

view this post on Zulip Ash Manda (Oct 05 2026 at 14:12):

Oliver said he was able to do it for some other workflows

view this post on Zulip Philip Durbin 🚀 (Oct 05 2026 at 14:14):

Right. We probably talked about it during the move from Jenkins to GitHub Actions. I'm glad we didn't let this be a blocker. But we should revisit some day, yes.

The backend README has those broken links to Jenkins. Do you think we should just remove them for now?

view this post on Zulip Ash Manda (Oct 05 2026 at 14:22):

Yep, we should. Jenkins has been turned off

view this post on Zulip Philip Durbin 🚀 (Oct 05 2026 at 14:26):

Ok. I created an issue: The README has broken links to Jenkins, now defunct #12784

view this post on Zulip Ash Manda (Oct 11 2026 at 01:05):

#12783 addresses code coverage now. I am looking into reactivating the badges

view this post on Zulip Ash Manda (Oct 11 2026 at 01:06):

Here's what it fixes:

Each browser job also runs the full API test suite against the same installation, so every commit gets three independent runs of the API tests under real UI load, which is good for catching flaky tests.

Push to green: ~50 → ~42 min. The tests themselves are unchanged.

view this post on Zulip Ash Manda (Oct 16 2026 at 16:22):

Current code coverage after #12783 is looking at about 57% on Coveralls

view this post on Zulip Ash Manda (Oct 16 2026 at 16:22):

https://coveralls.io/jobs/189690986

view this post on Zulip Philip Durbin 🚀 (Oct 16 2026 at 16:23):

57%! That's what I'm talking about!

view this post on Zulip Philip Durbin 🚀 (Oct 16 2026 at 16:25):

And at https://coveralls.io/jobs/189690986/source_files/12682577818 for example I can see which lines in /src/main/java/edu/harvard/iq/dataverse/api/Datasets.java (part of the API) are green/covered or red/uncovered. Great!

Screenshot 2026-10-16 at 12.25.24 PM.png


Last updated: Nov 02 2026 at 07:01 UTC