java-tutorials/baeldung-pmd-rules.xml

14 lines
779 B
XML
Raw Permalink Normal View History

<?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>
2022-10-24 02:27:40 -04:00
<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>