diff --git a/its/plugin/tests/pom.xml b/its/plugin/tests/pom.xml
index 7746fa75d69..575c38c55f8 100644
--- a/its/plugin/tests/pom.xml
+++ b/its/plugin/tests/pom.xml
@@ -54,6 +54,21 @@
junit
test
+
+ org.junit.jupiter
+ junit-jupiter-api
+ test
+
+
+ org.junit.jupiter
+ junit-jupiter-engine
+ test
+
+
+ org.junit.vintage
+ junit-vintage-engine
+ test
+
org.assertj
assertj-core
@@ -106,6 +121,7 @@
-server
com/sonar/it/java/suite/*TestSuite.java
+ com/sonar/it/java/suite/NewTest.java
com/sonar/it/java/*Test.java
diff --git a/its/plugin/tests/src/test/java/com/sonar/it/java/suite/NewTest.java b/its/plugin/tests/src/test/java/com/sonar/it/java/suite/NewTest.java
new file mode 100644
index 00000000000..df3e92f4450
--- /dev/null
+++ b/its/plugin/tests/src/test/java/com/sonar/it/java/suite/NewTest.java
@@ -0,0 +1,28 @@
+/*
+ * SonarQube Java
+ * Copyright (C) SonarSource Sàrl
+ * mailto:info AT sonarsource DOT com
+ *
+ * You can redistribute and/or modify this program under the terms of
+ * the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the Sonar Source-Available License for more details.
+ *
+ * You should have received a copy of the Sonar Source-Available License
+ * along with this program; if not, see https://sonarsource.com/license/ssal/
+ */
+package com.sonar.it.java.suite;
+
+import org.junit.jupiter.api.Test;
+
+import static org.junit.jupiter.api.Assertions.fail;
+
+class NewTest {
+ @Test
+ void test() {
+ fail("fail() in 5.");
+ }
+}
diff --git a/pom.xml b/pom.xml
index 0d14f365ebf..2cd1e0bf279 100644
--- a/pom.xml
+++ b/pom.xml
@@ -115,6 +115,8 @@
mockito-core-${mockito-core.version}.jar
1.7.30
+
+ 5.14.3
@@ -246,6 +248,24 @@
4.13.2
test
+
+ org.junit.jupiter
+ junit-jupiter-api
+ ${junit-jupiter.version}
+ test
+
+
+ org.junit.jupiter
+ junit-jupiter-engine
+ ${junit-jupiter.version}
+ test
+
+
+ org.junit.vintage
+ junit-vintage-engine
+ ${junit-jupiter.version}
+ test
+
org.mockito
mockito-core