Since the migration to JUnit 5, the warnings generated for JUnit by PMD do not make any sense anymore. Besides the default JUnit rules provided by PMD (1 and 2, we also included one of our own PMD-rules to warn students for invalidly catching exceptions in tests.
It is very important that we for now disable the JUnit PMD config unless we have rewritten the PMD rules to JUnit 5. I think hardly any of the generated JUnit rules will make sense. Ideally we rewrite the PMD ruleset for JUnit 5 and merge it back in to the templates later on.
Since the migration to JUnit 5, the warnings generated for JUnit by PMD do not make any sense anymore. Besides the default JUnit rules provided by PMD (1 and 2, we also included one of our own PMD-rules to warn students for invalidly catching exceptions in tests.
It is very important that we for now disable the JUnit PMD config unless we have rewritten the PMD rules to JUnit 5. I think hardly any of the generated JUnit rules will make sense. Ideally we rewrite the PMD ruleset for JUnit 5 and merge it back in to the templates later on.