Skip to content

Commit ef6d1ca

Browse files
committed
Add JUnitTestRunnerInterceptor for JUnit4 Parameterized tests eclipse-platform#1630
eclipse-platform#1630
1 parent 4355f45 commit ef6d1ca

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

eclipse-platform-parent/pom.xml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -435,12 +435,23 @@
435435
<artifactId>maven-dependency-plugin</artifactId>
436436
<version>3.6.1</version>
437437
</plugin>
438-
<plugin>
439-
<groupId>org.apache.maven.plugins</groupId>
440-
<artifactId>maven-surefire-plugin</artifactId>
441-
<version>${surefire.version}</version>
442-
</plugin>
443-
<plugin>
438+
<plugin>
439+
<groupId>org.apache.maven.plugins</groupId>
440+
<artifactId>maven-surefire-plugin</artifactId>
441+
<version>${surefire.version}</version>
442+
<configuration>
443+
<properties>
444+
<!-- Attach Clover's test interceptor in order to
445+
record JUnit4 Parameterized tests -->
446+
<property>
447+
<name>listener</name>
448+
<value>
449+
com.atlassian.clover.recorder.junit.JUnitTestRunnerInterceptor</value>
450+
</property>
451+
</properties>
452+
</configuration>
453+
</plugin>
454+
<plugin>
444455
<groupId>org.apache.maven.plugins</groupId>
445456
<artifactId>maven-deploy-plugin</artifactId>
446457
<version>3.1.1</version>

0 commit comments

Comments
 (0)