Skip to content

[java] Fix #6681: UnitTestShouldIncludeAssert: False positive with JUnitSoftAssertions Rule (JUnit 4)#6705

Merged
UncleOwen merged 2 commits into
pmd:mainfrom
lukasgraef:issue6681
May 24, 2026
Merged

[java] Fix #6681: UnitTestShouldIncludeAssert: False positive with JUnitSoftAssertions Rule (JUnit 4)#6705
UncleOwen merged 2 commits into
pmd:mainfrom
lukasgraef:issue6681

Conversation

@lukasgraef
Copy link
Copy Markdown
Contributor

@lukasgraef lukasgraef commented May 22, 2026

Describe the PR

Related issues

Ready?

  • Added unit tests for fixed bug/feature (fixed previously broken test)
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • Added (in-code) documentation (if needed)

@pmd-actions-helper
Copy link
Copy Markdown
Contributor

Documentation Preview

Compared to main:
This changeset changes 0 violations,
introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 0 violations, 15 errors and 9 configuration errors.
There are 0 changed duplications, 0 new duplications and 0 removed duplications.
There are 0 changed CPD errors, 0 new CPD errors and 0 removed CPD errors.

Regression Tester Report

(comment created at 2026-05-22 15:30:23+00:00 for 5377075)

@lukasgraef lukasgraef changed the title [java] Fix #6681: UnitTestShouldIncludeAssertTest: False positive with JUnitSoftAssertions Rule (JUnit 4) [java] Fix #6681: UnitTestShouldIncludeAssert: False positive with JUnitSoftAssertions Rule (JUnit 4) May 23, 2026
@lukasgraef lukasgraef marked this pull request as ready for review May 23, 2026 08:48
@UncleOwen UncleOwen merged commit 7db7a0a into pmd:main May 24, 2026
11 checks passed
@UncleOwen UncleOwen added this to the 7.25.0 milestone May 24, 2026
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.

[java] UnitTestShouldIncludeAssert: False positive with JUnitSoftAssertions Rule (JUnit 4)

2 participants