Skip to content

chore: remove the unused JUnit 4-era BugTest annotation#1468

Merged
rubenporras merged 1 commit into
dsldevkit:masterfrom
joaodinissf:chore/remove-dead-junit4-bugtest
Jul 16, 2026
Merged

chore: remove the unused JUnit 4-era BugTest annotation#1468
rubenporras merged 1 commit into
dsldevkit:masterfrom
joaodinissf:chore/remove-dead-junit4-bugtest

Conversation

@joaodinissf

Copy link
Copy Markdown
Collaborator

What

Deletes com.avaloq.tools.ddk.test.core.BugTest — the JUnit 4-era annotation superseded by com.avaloq.tools.ddk.test.core.jupiter.BugTest.

Why it is safe

  • The migration tracked by update tests annotated with BugTest to use the Junit5 version #1250 is complete: all 6 tests using @BugTest import the jupiter variant (the target platform is on junit-jupiter 6.1.0).
  • The old annotation has zero references in the repository — the only mention of it is its own declaration. The two remaining textual hits are commented-out lines in already-migrated Jupiter test classes.
  • The com.avaloq.tools.ddk.test.core package is exported API, so downstream consumers were checked too: a sweep for com.avaloq.tools.ddk.test.core.BugTest (and bare @BugTest without the jupiter import) found no consumers.
  • The jupiter variant and its BugTestAwareRule consumer are untouched.

Verified locally: compile, checkstyle:check, pmd:check, pmd:cpd-check green on com.avaloq.tools.ddk.test.core.

Closes #1250

🤖 Generated with Claude Code

The @bugtest migration to JUnit 5 is complete: every test using the
annotation imports com.avaloq.tools.ddk.test.core.jupiter.BugTest, and
the original com.avaloq.tools.ddk.test.core.BugTest has no remaining
references in the repository or in known consumers. Remove the dead
annotation; the jupiter variant (with its BugTestAwareRule consumer) is
the sole survivor.

Closes dsldevkit#1250

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@joaodinissf joaodinissf marked this pull request as ready for review July 15, 2026 21:28
@rubenporras rubenporras merged commit 3c65b3c into dsldevkit:master Jul 16, 2026
4 checks passed
@joaodinissf joaodinissf deleted the chore/remove-dead-junit4-bugtest branch July 16, 2026 07:01
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.

update tests annotated with BugTest to use the Junit5 version

2 participants