eeverman / eeverman/andhow

AndHowTestInit should be in a separate test-only module

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

Description

**Is your feature request related to a problem? Please describe.**
Currently `AndHowTestInit` is in the main andhow artifact. If an app follows 'the rules' and doesn't create a AndHowTestInit in production code, it is vulnerable to any 3rd party library hijacking initialization by including an instance. To prevent that, the class should just not be defined in production, thus, move it to a test-only artifact.

**Describe the solution you'd like**
Move this class to a new artifact. Include that artifact as a transitory dependency from other test packages.

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.