Skip to content

Deprecate @VisibleForTesting for removal #3755

@scordio

Description

@scordio

@VisibleForTesting currently signals that certain fields are public or package-private instead of private to allow them to be tested.

Such details are internal concerns of AssertJ, and there shouldn't be an annotation with public visibility to mark such cases, as the annotation can potentially be (mis)used by AssertJ users.

When deprecating the annotation, we should also check how to reduce the visibility of public annotated fields to at least package-private.

See also:

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions