oasp / oasp4j-ide

tool to automate setup and update of development environment (for Java projects)
Apache License 2.0
14 stars 15 forks source link

Checkstyle: Prevent using junit Assert #90

Open hohwille opened 8 years ago

hohwille commented 8 years ago

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 commented 6 years ago

Should be addressed with SonarQube quality profile.