Skip to content

Drop the parameters-based JUnit 5 extension#8864

Merged
swankjesse merged 5 commits into
masterfrom
jwilson.0617.drop_parameters
Jun 18, 2025
Merged

Drop the parameters-based JUnit 5 extension#8864
swankjesse merged 5 commits into
masterfrom
jwilson.0617.drop_parameters

Conversation

@swankjesse

Copy link
Copy Markdown
Collaborator

I think the @startstop one is sufficient.

This is a new take on our JUnit 5 extension. Rather than creating and managing
the MockWebServer instance in the extension, we let the user create it and all
the extension does is manage the lifecycle.

Note that this annotation doesn't require any external configuration - it doesn't
need a system-property to opt-into 'automatic' extensions, and it doesn't require
a class-level extension either.
@swankjesse
swankjesse requested a review from yschimke June 18, 2025 02:39
Base automatically changed from jwilson.0617_start_stop_start to master June 18, 2025 12:28
@swankjesse
swankjesse merged commit dddc938 into master Jun 18, 2025
22 checks passed
@swankjesse
swankjesse deleted the jwilson.0617.drop_parameters branch June 18, 2025 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants