Skip to content

fix unit tests#167

Merged
louis4li merged 3 commits intodevfrom
feature/fix-unit-tests
Jun 26, 2025
Merged

fix unit tests#167
louis4li merged 3 commits intodevfrom
feature/fix-unit-tests

Conversation

@louis4li
Copy link
Contributor

No description provided.

louis4li added 3 commits June 26, 2025 11:54
- Register DeepCopier service instance in TestKitSilo to prevent TestServiceProvider from auto-creating Mock
- Resolves System.NotSupportedException: Type to mock (DeepCopier) must be an interface error
- Tests now run properly, reduced from 20 failures to 10 failures out of 230 total tests
- Remaining failures are functional issues, no longer mock-related problems
- Only modified test code, no business logic changes
…Factory to prevent Mock Logger issues - Achieves 100% test pass rate - Resolves all mocking issues in test framework
@codecov
Copy link

codecov bot commented Jun 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
src/Aevatar.TestKit/TestKitSilo.cs 92.41% <100.00%> (ø)

... and 43 files with indirect coverage changes

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

Copy link
Contributor

@arg-foo arg-foo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@louis4li louis4li merged commit ebed5ef into dev Jun 26, 2025
3 checks passed
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.

2 participants