spock icon indicating copy to clipboard operation
spock copied to clipboard

EmbeddedSpecRunner/Compiler ClassLoader support

Open AndreasTu opened this issue 1 year ago • 1 comments

EmbeddedSpecRunner and EmbeddedSpecCompiler now support the construction with a ClassLoader. This allows the use of these classes in an OSGi environment, where the class imports in the embedded spec are not visible by the Spock OSGi bundle ClassLoader

AndreasTu avatar Aug 18 '24 10:08 AndreasTu

Codecov Report

Attention: Patch coverage is 89.47368% with 2 lines in your changes missing coverage. Please review.

Project coverage is 81.90%. Comparing base (2c7db77) to head (07202ed). Report is 122 commits behind head on master.

Files with missing lines Patch % Lines
...c/main/groovy/spock/util/EmbeddedSpecRunner.groovy 77.77% 0 Missing and 2 partials :warning:
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1988      +/-   ##
============================================
+ Coverage     80.44%   81.90%   +1.45%     
- Complexity     4337     4604     +267     
============================================
  Files           441      448       +7     
  Lines         13534    14417     +883     
  Branches       1707     1822     +115     
============================================
+ Hits          10888    11808     +920     
+ Misses         2008     1936      -72     
- Partials        638      673      +35     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Aug 18 '24 10:08 codecov[bot]