Skip to content

Make ArchUnit compatible with Gradle test retry plugin - #1713

Open
oehme wants to merge 1 commit into
TNG:mainfrom
oehme:oehme/1711
Open

oehme wants to merge 1 commit into
TNG:mainfrom
oehme:oehme/1711

Conversation

@oehme

@oehme oehme commented Sep 4, 2026

Copy link
Copy Markdown

Gradle always uses individual ClassSelectors for each test class in the test task. The test retry plugin then layers filters on top to include only the tests it wants to rerun. This change ensures these filters are actually honored.

Without this, all ArchUnit tests are rerun, regardless if they failed.

Fixes #1711

Gradle always uses individual ClassSelectors for each test class in the test task.
The test retry plugin then layers filters on top to include only the tests it wants
to rerun. This change ensures these filters are actually honored.

Without this, all ArchUnit tests are rerun, regardless if they failed.

Fixes TNG#1711

Signed-off-by: Stefan Oehme <st.oehme@gmail.com>
@oehme

oehme commented Sep 16, 2026

Copy link
Copy Markdown
Author

Ping 🙂

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.

ArchUnit doesn't work with Gradle's test-retry plugin

1 participant