Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Checkstyle: Prevent using junit Assert #90

Open
hohwille opened this issue Sep 13, 2016 · 1 comment
Open

Checkstyle: Prevent using junit Assert #90

hohwille opened this issue Sep 13, 2016 · 1 comment

Comments

@hohwille
Copy link
Member

We should have automated support that renders warnings when using ugly and discouraged JUnit asserts. I am fighting against the wind in OASP to get rid of them and new contributors keep on introducing this bad and obsolete style.
We should use checkstyle to render a warning/error if org.junit.Assert is used (junit.framework.Assert already is deprecated):
http://checkstyle.sourceforge.net/config_imports.html#IllegalImport

@hohwille
Copy link
Member Author

Should be addressed with SonarQube quality profile.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant