Allow declaring mock interactions outside a Specification via MockInteractionSupport#2375
Draft
leonard84 wants to merge 1 commit into
Draft
Allow declaring mock interactions outside a Specification via MockInteractionSupport#2375leonard84 wants to merge 1 commit into
leonard84 wants to merge 1 commit into
Codecov / codecov/project
succeeded
Jun 13, 2026 in 0s
82.42% (+0.08%) compared to b2699ee
View this Pull Request on Codecov
82.42% (+0.08%) compared to b2699ee
Details
Codecov Report
❌ Patch coverage is 86.44068% with 16 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.42%. Comparing base (b2699ee) to head (4ebfc49).
Additional details and impacted files
@@ Coverage Diff @@
## master #2375 +/- ##
============================================
+ Coverage 82.33% 82.42% +0.08%
- Complexity 4877 4910 +33
============================================
Files 474 478 +4
Lines 15205 15314 +109
Branches 1935 1954 +19
============================================
+ Hits 12519 12622 +103
Misses 1993 1993
- Partials 693 699 +6 | Files with missing lines | Coverage Δ | |
|---|---|---|
| ...java/org/spockframework/compiler/AstNodeCache.java | 100.00% <100.00%> (ø) |
|
| ...org/spockframework/compiler/DeepBlockRewriter.java | 98.22% <100.00%> (ø) |
|
| ...g/spockframework/compiler/NoSpecialMethodCall.java | 52.17% <ø> (ø) |
|
| ...java/org/spockframework/compiler/SpecRewriter.java | 93.93% <100.00%> (-0.25%) |
⬇️ |
| ...org/spockframework/compiler/SpecialMethodCall.java | 93.85% <100.00%> (+0.05%) |
⬆️ |
| ...r/condition/DefaultConditionRewriterResources.java | 93.75% <100.00%> (+0.41%) |
⬆️ |
| ...work/compiler/model/ExternalInteractionMethod.java | 100.00% <100.00%> (ø) |
|
| .../src/main/java/org/spockframework/util/Checks.java | 70.58% <100.00%> (+6.30%) |
⬆️ |
| ...k-core/src/main/java/spock/lang/Specification.java | 79.16% <100.00%> (ø) |
|
| ...pock-core/src/main/java/spock/mock/MockingApi.java | 93.54% <ø> (-0.11%) |
⬇️ |
| ... and 5 more |
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Loading