Skip to content

Commit

Permalink
Include *IT* as a valid test file name pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
pabender committed Jan 14, 2020
1 parent b08ee44 commit 55ee1ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jqassistant/rules.xml
Expand Up @@ -2,12 +2,12 @@

<constraint id="testrules:TestClassName">
<requiresConcept refId="junit4:TestClass" />
<description>All JUnit test classes must have a name that includes "Test", "Base", or "Demo".</description>
<description>All JUnit test classes must have a name that includes "IT", "Test", "Base", or "Demo".</description>
<cypher><![CDATA[
MATCH
(t:Junit4:Test:Class)
WHERE NOT
t.name =~ ".*(Test|Base|Demo).*"
t.name =~ ".*(IT|Test|Base|Demo).*"
RETURN
t AS InvalidTestClass
]]></cypher>
Expand Down

0 comments on commit 55ee1ce

Please sign in to comment.