Skip to content

test(drive): improve coverage for vote paths, document info, token ops, and asset lock proofs - #3452

Merged
QuantumExplorer merged 2 commits into
v3.1-devfrom
test/drive-votes-paths-docinfo
Apr 8, 2026
Merged

test(drive): improve coverage for vote paths, document info, token ops, and asset lock proofs#3452
QuantumExplorer merged 2 commits into
v3.1-devfrom
test/drive-votes-paths-docinfo

test(drive): add missing token operation variant tests per review

c0cc03e
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 8, 2026 in 0s

83.30% (+0.16%) compared to 59f233f

View this Pull Request on Codecov

83.30% (+0.16%) compared to 59f233f

Details

Codecov Report

❌ Patch coverage is 97.67712% with 20 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.30%. Comparing base (59f233f) to head (c0cc03e).
⚠️ Report is 1 commits behind head on v3.1-dev.

Files with missing lines Patch % Lines
...es/rs-drive/src/util/batch/drive_op_batch/token.rs 93.96% 14 Missing ⚠️
...s-drive/src/util/object_size_info/document_info.rs 97.28% 6 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           v3.1-dev    #3452      +/-   ##
============================================
+ Coverage     83.13%   83.30%   +0.16%     
============================================
  Files          2621     2621              
  Lines        270434   272169    +1735     
============================================
+ Hits         224833   226726    +1893     
+ Misses        45601    45443     -158     
Components Coverage Δ
dpp 76.18% <100.00%> (+0.06%) ⬆️
drive 84.19% <97.26%> (+0.13%) ⬆️
drive-abci 87.03% <ø> (+0.28%) ⬆️
sdk ∅ <ø> (∅)
dapi-client ∅ <ø> (∅)
platform-version ∅ <ø> (∅)
platform-value 92.01% <ø> (+<0.01%) ⬆️
platform-wallet ∅ <ø> (∅)
drive-proof-verifier 55.66% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.