assertj / assertj/assertj-assertions-generator-maven-plugin

Exclude package private classe references from entry points assertions

Open
#58 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
30
Forks
27
PR merge metrics
No merged PRs in 30d

Description

Since 2.2.0, when includePackagePrivateClasses option is enabled, package private assertions classes are referenced in the entry points assertions classes, like BddAssertions...
Which can cause compilation errors when these entry points classes are not generated in the same package.

As workarounds, the following plugin [configurations](http://joel-costigliola.github.io/assertj/assertj-assertions-generator-maven-plugin.html#configuration) can be applied :
- entryPointClassPackage configuration could match the package which contains assertions for package private classes
- entry points assertions classes generation should be disabled

Ideally, package private classes should not be referenced in entry points classes

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.