Skip to content

Set the owner for condition closures on spec annotations#1357

Merged
leonard84 merged 3 commits into
spockframework:masterfrom
leonard84:class_condition_spec_level
Jul 17, 2021
Merged

Set the owner for condition closures on spec annotations#1357
leonard84 merged 3 commits into
spockframework:masterfrom
leonard84:class_condition_spec_level

Conversation

@leonard84
Copy link
Copy Markdown
Member

This allows access to static methods when @IgnoreIf, @Requires and @PendingFeatureIf is used on a Specification.

We already set the owner when a Feature is annotated.

This allows access to static methods when `@IgnoreIf`, `@Requires` and `@PendingFeatureIf` is used on a Specification.

We already set the owner when a Feature is annotated.
@leonard84 leonard84 requested a review from marcphilipp July 16, 2021 13:04
@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 16, 2021

Codecov Report

Merging #1357 (8ee20a0) into master (b2902ca) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1357      +/-   ##
============================================
+ Coverage     79.22%   79.23%   +0.01%     
+ Complexity     3944     3943       -1     
============================================
  Files           408      408              
  Lines         12263    12262       -1     
  Branches       1617     1617              
============================================
+ Hits           9715     9716       +1     
+ Misses         1967     1965       -2     
  Partials        581      581              
Impacted Files Coverage Δ
...untime/extension/builtin/ConditionalExtension.java 92.50% <100.00%> (-0.19%) ⬇️
.../runtime/extension/builtin/TimeoutInterceptor.java 87.03% <0.00%> (+3.70%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b2902ca...8ee20a0. Read the comment docs.

marcphilipp
marcphilipp previously approved these changes Jul 17, 2021
Co-authored-by: Marc Philipp <marc@gradle.com>
@leonard84 leonard84 merged commit 5391db8 into spockframework:master Jul 17, 2021
@leonard84 leonard84 deleted the class_condition_spec_level branch July 17, 2021 17:41
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