JuliaHEP / UnROOT.jl

Native Julia I/O package to work with CERN ROOT files objects (TTree and RNTuple)
https://juliahep.github.io/UnROOT.jl/
MIT License
102 stars 17 forks source link

Restructure tests to allow running them individually #328

Closed tamasgal closed 7 months ago

tamasgal commented 7 months ago

Our test suite is already quite large (or let's say... slow 😉) and sometimes it's annoying to wait 1-2 minutes when working on something where it's sufficient to run just a part of the test suite during development.

This PR splits the test set into standalone scripts, so that they can be run individually.

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 85.74%. Comparing base (5de2c4f) to head (1d5fe1e).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #328 +/- ## ======================================= Coverage 85.74% 85.74% ======================================= Files 18 18 Lines 2490 2490 ======================================= Hits 2135 2135 Misses 355 355 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Moelf commented 7 months ago

Do we want to run them in parallel using one of the testing packages out there?

tamasgal commented 7 months ago

I always used the barebone Test package ;) Do you have a concrete suggestion?

Moelf commented 7 months ago

maybe https://github.com/RelationalAI-oss/XUnit.jl, we can do a follow-up