Skip to content
This repository was archived by the owner on Jul 10, 2024. It is now read-only.
This repository was archived by the owner on Jul 10, 2024. It is now read-only.

jUnit 5 - Not all assert-Methods supported #8

@StephanPirnbaum

Description

@StephanPirnbaum

The junit5:AssertMethod concept does not support all assert methods from jUnit 5, thus leading to false positives in the constraint junit:TestMethodWithoutAssertion constraint. This is due to the fact that assert methods are considered as such if the have the following signature void assert.*

Following methods will not be matched:

  • java.lang.Throwable assertThrows
  • T assertTimeout*

Metadata

Metadata

Assignees

Labels

type:bugSoftware shows incorrect behavior or delivers incorrect results

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions