Skip to content

Commit 41af70f

Browse files
AlexanderShoshinLeemoonsoo
authored andcommitted
added ability to exclude some unit tests using command line
1 parent ed2422a commit 41af70f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@
134134

135135
<PermGen>64m</PermGen>
136136
<MaxPermGen>512m</MaxPermGen>
137+
138+
<!-- to be able to exclude some tests using command line -->
139+
<tests.to.exclude/>
137140
</properties>
138141

139142
<dependencyManagement>
@@ -555,6 +558,9 @@
555558
<version>${plugin.surefire.version}</version>
556559
<configuration combine.children="append">
557560
<argLine>-Xmx2g -Xms1g -Dfile.encoding=UTF-8</argLine>
561+
<excludes>
562+
<exclude>${tests.to.exclude}</exclude>
563+
</excludes>
558564
</configuration>
559565
<!-- <excludes> <exclude>**/itest/**</exclude> </excludes> <executions>
560566
<execution> <id>surefire-itest</id> <phase>integration-test</phase> <goals>

0 commit comments

Comments
 (0)