Skip to content

Allow users to configure which annotations/superclasses identify test methods#573

Merged
nedtwigg merged 2 commits intodiffplug:mainfrom
Nick-VdP:feat/configurable-test-annotations
May 9, 2026
Merged

Allow users to configure which annotations/superclasses identify test methods#573
nedtwigg merged 2 commits intodiffplug:mainfrom
Nick-VdP:feat/configurable-test-annotations

Conversation

@Nick-VdP
Copy link
Copy Markdown
Contributor

Selfie's GC logic used hardcoded lists of test annotations and superclasses to determine which snapshots are stale. Move these into overridable testAnnotations and testSuperclasses properties on SelfieSettingsAPI so users with custom composed annotations or Spec-like base classes can register them.

… methods

Selfie's GC logic used hardcoded lists of test annotations and superclasses to determine which snapshots are stale. Move these into overridable `testAnnotations` and `testSuperclasses` properties on `SelfieSettingsAPI` so users with custom composed annotations or Spec-like base classes can register them.
@Nick-VdP Nick-VdP marked this pull request as ready for review April 30, 2026 12:59
@nedtwigg nedtwigg merged commit 54dc8d6 into diffplug:main May 9, 2026
@nedtwigg
Copy link
Copy Markdown
Member

nedtwigg commented May 9, 2026

Released in 3.1.0, thanks for the contribution!

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