Skip to content

Add unit tests for Expression, JsonExpression and TableSchema#20770

Open
WarLikeLaux wants to merge 4 commits intoyiisoft:masterfrom
WarLikeLaux:test-db-value-objects
Open

Add unit tests for Expression, JsonExpression and TableSchema#20770
WarLikeLaux wants to merge 4 commits intoyiisoft:masterfrom
WarLikeLaux:test-db-value-objects

Conversation

@WarLikeLaux
Copy link
Contributor

@WarLikeLaux WarLikeLaux commented Mar 4, 2026

Q A
Is bugfix?
New feature?
Breaks BC?
Fixed issues

What does this PR do?

Adds dedicated unit tests for Expression, JsonExpression and TableSchema - pure logic, no DB required.

Before

Tests: 0, Assertions: 0
Methods: 0% (0/9), Lines: 0% (0/24)
MSI: 0% (0/24 mutants killed)

After

Tests: 46, Assertions: 68
Methods: 100% (9/9), Lines: 100% (24/24)
MSI: 100% (24/24 mutants killed)

Changelog not required, because no source files changed.

@codecov
Copy link

codecov bot commented Mar 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.13%. Comparing base (37b6e7b) to head (f2accdc).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##             master   #20770   +/-   ##
=========================================
  Coverage     80.13%   80.13%           
  Complexity    11533    11533           
=========================================
  Files           374      374           
  Lines         30206    30206           
=========================================
  Hits          24207    24207           
  Misses         5999     5999           

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant