FORM Apply Same Tests to RNTuple and TTree#740
Conversation
…as a result of a recent PR.
…e and TTree backends. The RNTuple backend now also searches for a matching view when prime() is called.
…ple now verifies that the field it's reading from exists in its entries() function. Now, TTree and RNTuple backends are tested by the same test cases.
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughROOT RField view creation and type validation are centralized in a private helper. Missing-field checks are added to ChangesROOT RField storage
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@phlexbot format |
Format Fixes Applied✅ clang-format fixes pushed (commit 817c1e4) |
Codecov Report❌ Patch coverage is
@@ Coverage Diff @@
## main #740 +/- ##
==========================================
- Coverage 83.84% 83.80% -0.04%
==========================================
Files 172 172
Lines 7198 7205 +7
Branches 845 848 +3
==========================================
+ Hits 6035 6038 +3
- Misses 882 884 +2
- Partials 281 283 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
FORM's testing infrastructure has accumulated some test cases that only run for either TTree or RNTuple. This PR updates RNTuple to match how TTree behaves in all but one of these tests. The last RNTuple-only test case will be dealt with in its own PR soon.
Code
createView()helper.prime()to locate matching views and validate requested field types.entries()requests a nonexistent RNTuple field.Tests
prime()and storage-layerentries()tests across TTree and RNTuple backends.