Add mock generation for @Instantiable types #204
Draft
Codecov / codecov/project
succeeded
Apr 2, 2026 in 0s
99.91% (target 99.51%)
View this Pull Request on Codecov
99.91% (target 99.51%)
Details
Codecov Report
❌ Patch coverage is 99.92366% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 99.91%. Comparing base (acf381f) to head (8354a90).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| Sources/SafeDITool/SafeDITool.swift | 96.87% | 1 Missing |
Additional details and impacted files
@@ Coverage Diff @@
## dfed/root-scanner #204 +/- ##
=====================================================
- Coverage 99.92% 99.91% -0.01%
=====================================================
Files 40 40
Lines 3809 4923 +1114
=====================================================
+ Hits 3806 4919 +1113
- Misses 3 4 +1 | Files with missing lines | Coverage Δ | |
|---|---|---|
| ...s/SafeDICore/Errors/FixableInstantiableError.swift | 100.00% <100.00%> (ø) |
|
| ...ICore/Errors/FixableSafeDIConfigurationError.swift | 100.00% <100.00%> (ø) |
|
| ...eDICore/Extensions/AttributeSyntaxExtensions.swift | 100.00% <100.00%> (ø) |
|
| ...afeDICore/Generators/DependencyTreeGenerator.swift | 100.00% <100.00%> (ø) |
|
| Sources/SafeDICore/Generators/ScopeGenerator.swift | 100.00% <100.00%> (ø) |
|
| Sources/SafeDICore/Models/Initializer.swift | 100.00% <100.00%> (ø) |
|
| Sources/SafeDICore/Models/InstantiableStruct.swift | 100.00% <100.00%> (ø) |
|
| ...ources/SafeDICore/Models/SafeDIConfiguration.swift | 100.00% <100.00%> (ø) |
|
| Sources/SafeDICore/Models/SafeDIToolManifest.swift | 100.00% <100.00%> (ø) |
|
| Sources/SafeDICore/Models/Scope.swift | 100.00% <100.00%> (ø) |
|
| ... and 7 more |
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Loading