Skip to content

Conversation

@yhkuo41
Copy link
Contributor

@yhkuo41 yhkuo41 commented Dec 24, 2024

Resolves #4185.

Overview


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


Definition of Done

Ensure `from` and `to` are empty when the enum has no constants, and
validate `from` comes before `to` like `EnumSet.range`. Mark the `from`
and `to` attributes as EXPERIMENTAL.

Resolves junit-team#4185.
@yhkuo41 yhkuo41 requested a review from marcphilipp January 3, 2025 14:28
@marcphilipp marcphilipp merged commit cc2f60c into junit-team:main Jan 8, 2025
15 checks passed
@marcphilipp
Copy link
Member

@yhkuo41 Thank you for your contribution! 👍

@yhkuo41 yhkuo41 deleted the issues/4185-enum-source-range branch January 8, 2025 11:00
@sbrannen sbrannen changed the title Introduce from and to attributes on @EnumSource (#4185) Introduce from and to attributes to @EnumSource Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support range filter in @EnumSource

4 participants