Skip to content

feat: field-by-field recursive comparison#79

Merged
haraldmaida merged 34 commits intomainfrom
feat/recursive-comparison-of-struct-fields
Mar 14, 2026
Merged

feat: field-by-field recursive comparison#79
haraldmaida merged 34 commits intomainfrom
feat/recursive-comparison-of-struct-fields

Conversation

@haraldmaida
Copy link
Copy Markdown
Member

Add the new recursive comparison mode that compares the actual and expected values field-by-field recursively.

@haraldmaida haraldmaida self-assigned this Mar 14, 2026
@haraldmaida haraldmaida added the enhancement New feature or request label Mar 14, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 14, 2026

Codecov Report

❌ Patch coverage is 89.19383% with 126 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.86%. Comparing base (60fa259) to head (f2ae768).
⚠️ Report is 35 commits behind head on main.

Files with missing lines Patch % Lines
src/recursive_comparison/value/map/mod.rs 47.56% 43 Missing ⚠️
src/recursive_comparison/serialize/mod.rs 91.23% 16 Missing and 11 partials ⚠️
src/recursive_comparison/value/mod.rs 93.57% 16 Missing and 7 partials ⚠️
src/recursive_comparison/mod.rs 92.30% 12 Missing and 6 partials ⚠️
src/recursive_comparison/value/number/mod.rs 90.32% 9 Missing ⚠️
src/spec/mod.rs 50.00% 3 Missing ⚠️
src/recursive_comparison/path/mod.rs 96.42% 0 Missing and 2 partials ⚠️
src/recursive_comparison/macros/mod.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #79      +/-   ##
==========================================
- Coverage   93.72%   92.86%   -0.87%     
==========================================
  Files          33       41       +8     
  Lines        4593     5759    +1166     
  Branches     4593     5759    +1166     
==========================================
+ Hits         4305     5348    +1043     
- Misses        248      345      +97     
- Partials       40       66      +26     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@haraldmaida haraldmaida merged commit 393ec21 into main Mar 14, 2026
18 of 20 checks passed
@haraldmaida haraldmaida deleted the feat/recursive-comparison-of-struct-fields branch March 14, 2026 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant