java-tutorials/baeldung-pmd-rules.xml

14 lines
779 B
XML

<?xml version="1.0"?>
<ruleset name="Baeldung custom pmd rules" xmlns="http://pmd.sf.net/ruleset/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
<description>Baeldung custom PMD rules</description>
<rule name="UnitTestMustFollowNamingConventionRule"
message="Unit test class names need to end in 'UnitTest', integration tests with 'IntegrationTest', etc "
class="org.baeldung.pmd.UnitTestNamingConventionRule"
language="java">
<description>Test does not follow Baeldung naming convention</description>
<priority>3</priority>
</rule>
</ruleset>