Skip to content

Support statically compiled specifications - #2397

Draft
leonard84 wants to merge 7 commits into
masterfrom
compile-static-support
Draft

Support statically compiled specifications#2397
leonard84 wants to merge 7 commits into
masterfrom
compile-static-support

Add condition rendering specs for statically compiled code

e1bb1c3
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 20, 2026 in 1s

82.31% (+0.01%) compared to d7afcdc

View this Pull Request on Codecov

82.31% (+0.01%) compared to d7afcdc

Details

Codecov Report

❌ Patch coverage is 90.47619% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.31%. Comparing base (d7afcdc) to head (e1bb1c3).

Files with missing lines Patch % Lines
...main/java/org/spockframework/compiler/AstUtil.java 86.66% 0 Missing and 2 partials ⚠️
...org/spockframework/compiler/ConditionRewriter.java 90.90% 0 Missing and 1 partial ⚠️
...rg/spockframework/compiler/WhereBlockRewriter.java 92.30% 0 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #2397      +/-   ##
============================================
+ Coverage     82.29%   82.31%   +0.01%     
- Complexity     4882     4902      +20     
============================================
  Files           474      474              
  Lines         15258    15292      +34     
  Branches       1961     1973      +12     
============================================
+ Hits          12557    12588      +31     
  Misses         2002     2002              
- Partials        699      702       +3     
Files with missing lines Coverage Δ
...java/org/spockframework/compiler/SpecRewriter.java 94.19% <100.00%> (+0.01%) ⬆️
...org/spockframework/compiler/SpecialMethodCall.java 93.80% <100.00%> (ø)
...java/org/spockframework/runtime/ValueRecorder.java 73.07% <ø> (ø)
...org/spockframework/compiler/ConditionRewriter.java 89.87% <90.90%> (-0.03%) ⬇️
...rg/spockframework/compiler/WhereBlockRewriter.java 95.15% <92.30%> (-0.10%) ⬇️
...main/java/org/spockframework/compiler/AstUtil.java 79.04% <86.66%> (+0.75%) ⬆️

... and 1 file with indirect coverage changes

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