Skip to content

Conversation

@marcphilipp
Copy link
Member

Overview

  • Replace annotation with boolean-returning method
  • Return enum instead of boolean
  • Create specialized sub-interface of Extension

I hereby agree to the terms of the JUnit Contributor License Agreement.


Definition of Done

This avoids being able to opt out should the default be changed to
test-scoped.
@marcphilipp marcphilipp self-assigned this Oct 9, 2024
@marcphilipp marcphilipp force-pushed the marc/replace-annotation-with-extension-method branch from 3e49904 to ba6cd95 Compare October 9, 2024 08:13
@marcphilipp
Copy link
Member Author

@JojOatXGME I'd appreciate it if you could take a look!

@marcphilipp marcphilipp force-pushed the marc/replace-annotation-with-extension-method branch from 5acbdb6 to bef4874 Compare October 9, 2024 08:58
This enforces that only potentially affected extensions can override the
method determining the extension context scope during test class
instance construction.
@marcphilipp marcphilipp force-pushed the marc/replace-annotation-with-extension-method branch from bef4874 to bbafe10 Compare October 9, 2024 09:00
Copy link
Contributor

@JojOatXGME JojOatXGME left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I still kept a few comments to communicate what I was thinking while reading your PR.

@marcphilipp marcphilipp enabled auto-merge (rebase) October 11, 2024 13:00
@marcphilipp marcphilipp disabled auto-merge October 11, 2024 13:01
@marcphilipp marcphilipp merged commit e3c5383 into main Oct 11, 2024
15 checks passed
@marcphilipp marcphilipp deleted the marc/replace-annotation-with-extension-method branch October 11, 2024 13:58
@marcphilipp marcphilipp added this to the 5.12 M1 milestone Oct 14, 2024
@marcphilipp marcphilipp linked an issue Oct 16, 2024 that may be closed by this pull request
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants