Skip to main content
0 votes
0 answers
37 views

I have two profiles with plugin maven-failsafe-plugin <profile> <id>cdc-tests</id> <build> <plugins> <plugin> <plugin&...
Aliaksei's user avatar
  • 1,449
1 vote
1 answer
110 views

I'm working on a user-related service that handles personal information. While writing unit tests with Mockito, I ran into dependency issues with Byte Buddy, which prevented me from using the latest ...
Apurva Agarwal's user avatar
0 votes
2 answers
121 views

I am having issues related to my tests which are failing because of slf4j-api being absent, which does not make sense because it is present as it is provided as a transitive dependency from one of the ...
Hakan54's user avatar
  • 4,077
0 votes
0 answers
74 views

This might be two different problems, but I suspect both related to tycho, this is why I ask them together. I have a project using eclipse-test-plugin packaging. As I could not get tycho-surefire-...
Árpád Magosányi's user avatar
0 votes
0 answers
67 views

I am trying to test my code in a YAML pipeline using Maven but for whatever reason mvn test seems to skip over the compiled test. Here is part of my pipeline, with specific point to look at the test ...
Jude Rose's user avatar
0 votes
2 answers
56 views

This is part of my pom.xml: <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>3.5.3</version> <configuration> <excludedGroups>slow<...
yegor256's user avatar
  • 106k
0 votes
1 answer
37 views

Surefire has a parameter called additionalClasspathElements for adding elements to the test classpath. Is there a way to add elements to the test modulepath instead?
Gili's user avatar
  • 90.9k
0 votes
0 answers
259 views

Using JDK: openjdk 17.0.14 2025-01-21 Apache Maven 3.8.8 maven surfire plugin org.apache.maven.plugins maven-surefire-plugin 3.5.3 I registered a shutdownhook: Runtime.getRuntime().addShutdownHook(...
mihai's user avatar
  • 41
1 vote
0 answers
79 views

For a few years now, we've been using Maven projects to test our API. Tests would be marked with different groups, for example: @Test(groups = {"priority_very_high", "test_ignored"}...
Petersaber's user avatar
0 votes
0 answers
383 views

Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:3.3.1 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache....
Nikita R's user avatar
0 votes
1 answer
77 views

When I run this test from VSCode or Intellij it works fine. When I run it from Maven using the command below it fails. Getting this error: org.apache.maven.plugin.MojoFailureException: No tests were ...
Daltin's user avatar
  • 111
0 votes
1 answer
69 views

The project I am working on currently has unit tests and integration tests both. The unit tests are correctly getting generated under /target/surefire-report/junitreports reports but the Integration ...
ravi saurav's user avatar
0 votes
0 answers
128 views

I have a Junit 5 test @ParameterizedTest(name = "{index}: {0}") @MethodSource("data") test_CHECKVALUE(String, Boolean, String) If I run this test in VS code the name of the test ...
rick's user avatar
  • 45
0 votes
1 answer
560 views

I currently migrated a project from JUnit4 to JUnit5. The test classes are a mixture of JUnit and TestNG. My current maven plugin is written in the parent POM like: <!-- https://mvnrepository.com/...
hell_storm2004's user avatar
0 votes
1 answer
112 views

I have a project written in Java 11 with thousands of test, some of them using the Mockito library. When running all the tests with mvn test, I get the following: [ERROR] Tests run: 26987, Failures: 0,...
DocOrox's user avatar

15 30 50 per page
1
2 3 4 5
111