You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2025/05/23 13:18:20 UTC
(jena) 04/05: Use JUnit4 directly. Ensure test progress is reported.
This is an automated email from the ASF dual-hosted git repository.
andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git
commit 4042480021802c8ab2e6b5f2d7aaf82df1a06e79
Author: Andy Seaborne <an...@apache.org>
AuthorDate: Fri May 16 09:17:52 2025 +0100
Use JUnit4 directly. Ensure test progress is reported.
---
jena-core/pom.xml | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/jena-core/pom.xml b/jena-core/pom.xml
index 76575e746f..c474b6f52e 100644
--- a/jena-core/pom.xml
+++ b/jena-core/pom.xml
@@ -96,7 +96,6 @@
</dependency>
-->
- <!-- junit-vintage-engine does not seem to work properly -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
@@ -161,10 +160,19 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
+ <!--
+ Choose the provider if necessary.
+ Necessary if surefire is not reporting during test runs.
+ -->
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.surefire</groupId>
+ <artifactId>surefire-junit47</artifactId>
+ <version>${ver.plugin.surefire}</version>
+ </dependency>
+ </dependencies>
<configuration>
- <!--
<argLine>-javaagent:${org.mockito:mockito-core:jar} -Xshare:off</argLine>
- -->
<includes>
<include>org/apache/jena/test/TestPackage_core.java</include>
</includes>