Skip to content

Add annotations for JUnit Jupiter extensions - #128

Merged
kcooney merged 6 commits into
mainfrom
kcooney/junit-extension-annotations
Feb 10, 2026
Merged

Add annotations for JUnit Jupiter extensions#128
kcooney merged 6 commits into
mainfrom
kcooney/junit-extension-annotations

Conversation

@kcooney

@kcooney kcooney commented Feb 9, 2026

Copy link
Copy Markdown
Contributor

This allows us to add optional parameters that can be specified by users of the annotations.

  • @ProvideUniqueNetworkTableInstance - Replacement for
    @ExtendWith(IsolatedNetworkTablesExtension.class)
    • Contains two parameters:
      • allow the user to specify waitForListenerQueueSeconds
      • allow the user to request that the Preferences network table is updated
  • @InitWPILib - Replacement for @ExtendWith(WPILibExtension.class)

@kcooney kcooney added this to the Version 2.0.0 Release milestone Feb 9, 2026
@kcooney
kcooney force-pushed the kcooney/junit-extension-annotations branch 11 times, most recently from 48c8171 to f3e241b Compare February 9, 2026 17:27

@cuttestkittensrule cuttestkittensrule left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm. I have some minor comments on the documentation and the InitWPILibExtensionTest, but after those are resolved, this is ready to go.

This allows us to add optional parameters that can be specified by users of
the annotations. Notably, IsolatedNetworkTables allows the user to specify
waitForListenerQueueSeconds.
@kcooney
kcooney force-pushed the kcooney/junit-extension-annotations branch from f3e241b to 7e0a4e1 Compare February 10, 2026 03:00
@kcooney
kcooney force-pushed the kcooney/junit-extension-annotations branch from 7e0a4e1 to fc3a3c1 Compare February 10, 2026 03:05
@kcooney
kcooney merged commit 73c3eeb into main Feb 10, 2026
1 check passed
@kcooney
kcooney deleted the kcooney/junit-extension-annotations branch February 10, 2026 07:52
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