-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add around() to Node to allow intercepting the whole execution #1705
Conversation
Co-authored-by: Marc Philipp <mail@marcphilipp.de>
35a0eb6
to
7aa1bdb
Compare
Codecov Report
@@ Coverage Diff @@
## master #1705 +/- ##
============================================
+ Coverage 88.44% 88.45% +<.01%
- Complexity 3801 3804 +3
============================================
Files 345 345
Lines 9335 9342 +7
Branches 751 751
============================================
+ Hits 8256 8263 +7
Misses 883 883
Partials 196 196
Continue to review full report at Codecov.
|
3 similar comments
Codecov Report
@@ Coverage Diff @@
## master #1705 +/- ##
============================================
+ Coverage 88.44% 88.45% +<.01%
- Complexity 3801 3804 +3
============================================
Files 345 345
Lines 9335 9342 +7
Branches 751 751
============================================
+ Hits 8256 8263 +7
Misses 883 883
Partials 196 196
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #1705 +/- ##
============================================
+ Coverage 88.44% 88.45% +<.01%
- Complexity 3801 3804 +3
============================================
Files 345 345
Lines 9335 9342 +7
Branches 751 751
============================================
+ Hits 8256 8263 +7
Misses 883 883
Partials 196 196
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #1705 +/- ##
============================================
+ Coverage 88.44% 88.45% +<.01%
- Complexity 3801 3804 +3
============================================
Files 345 345
Lines 9335 9342 +7
Branches 751 751
============================================
+ Hits 8256 8263 +7
Misses 883 883
Partials 196 196
Continue to review full report at Codecov.
|
Can you please provide a rationale for the proposed change (perhaps linking to an existing issue or discussion) and include that in the commit message as well? Thanks in advance! |
Tentatively slated for 5.4 M1 for team discussion. |
The rationale is to support Spock's extension model that allows to intercept, i.e. wrap, the whole execution of a test class, method, or invocation. |
OK. Thanks for the background. But... doesn't this change then relate to #80 and #157? And if so, has there been any effort made to ensure that this change would work nicely with those (once implemented)? |
I think it's related in a way because both #80 and #157 will require a similar wrapping pattern. However, in both case on a much more fine-grained level, e.g. only the |
Team Decision: Merge it. |
Merge it ... after remaining deliverables are finished:
|
Thanks for the feedback.
Well... let's see how it all plays out. 😉 |
I've added release notes and manually pushed this PR to |
Overview
as discussed with @marcphilipp
I hereby agree to the terms of the JUnit Contributor License Agreement.
Definition of Done
@API
annotations