surefire Questions
3
Solved
We are using JUnit - Selenium for our web tests. We use Maven to start them and build a surefire report.
The test suite is pretty large and takes a while to run and sometimes single tests fail bec...
2
I'm running Selenium tests on the Selenium Grid using the Surefire Plugin to execute tests.
In terms of my test breakdown I have several classes, some of which have 1 test in there and some more th...
Ultramicroscope asked 7/10, 2015 at 8:59
2
Solved
I am using mockito 1.8.3, jacoco 0.72 and maven 3.0.5 surefire plugin (2.12.4) to execute unit test and generating coverage report, it was working fine.
With more and more tests are added, it sta...
0
I'm trying to pass a custom security policy file to surefire to run some tests. (Specifically, I'm adding classes in java.lang to test a profiler and I want permission to define classes in there.)
...
4
Solved
I'm wondering if the Maven surefire plugin either runs tests multi-threaded by default (and if so can the number of threads be controlled? ) or if it runs tests from the Test classes in a random or...
Annoying asked 18/2, 2010 at 5:44
3
Solved
When I run mvn test I receive the below exception. I have tried both raising and lowering my Xmx and Xss JVM settings and bumping all limits under ulimit. There are about 1300 tests and the last 20...
1
Solved
I've been trying to use Maven with the Surefire plugin to run some JUnit unit tests.
Following the instructions provided by Maven and the Surefire folks here: http://maven.apache.org/surefire/mav...
1
Has anyone been able to get unit test coverage of both JMockit and Powermock unit tests working in JaCoCo from Maven build?
I have an existing test set of Powermock unit tests, that I would like ...
3
Is it possible to run a predefined xml suite from the command line through maven?
I am able to run a class or a particular test. But I am unable to run a suite.
Here is what I am running from the...
Hus asked 30/4, 2012 at 22:19
4
Solved
I'm unable to adjust java logging's logging level. I'm using maven surefire (mvn test), and trying to adjust from the default INFO to e.g. FINEST.
I have logging.properties file under src/test/res...
1
Solved
How do I set the timezone for unit tests in maven surefire on Java 8?
With Java 7 this used to work with systemPropertyVariables like in the following configuration, but with Java 8 the tests just...
3
Solved
I want to run only a subset of my unit tests, the ones defined by a specific @Category.
So I read several SO questions, such as this one (which is exactly what I am looking for), and also this one...
Anal asked 11/2, 2011 at 14:34
2
Solved
We have a Jenkins job that contains a bunch of javascript files. We build our project via grunt, and at the end of the build we run JSCover to run our unit tests and collect code coverage. It all w...
Percussive asked 2/4, 2013 at 17:53
1
Maven Surefire records standard output and error output for every failed tests which can be later found in generated files in surefire-reports directory. The output of tests which pass with no erro...
1
Solved
I am trying to get project with submodules to test and generate reports correctly, but have got some problems.
I have the following project structure:
parent
|-test1
|-test2
and the pom.xml f...
2
Solved
Existing Structure : src/test/java --> All java unit tests. This gets picked up easily by Maven surefire plugin.
Now, in addition to these java unit test cases, I want to include some groovy test ...
Acting asked 6/10, 2013 at 5:32
1
How can I run a single plug-in test method in Maven using tycho-surefire-plugin?
I tried the -Dtest option with #, but it doesn't work:
mvn clean install -Dtest=MyUITest#testDummy
Is there som...
Hanny asked 19/9, 2013 at 7:32
8
using Maven surefire, I'm unable to fork parallel test execution. That is, each of my test cases hs to run in a serapate JVM, hence the forking. In addition, I want my test cases to run in parallel...
Benzoate asked 30/8, 2010 at 11:59
4
Solved
I want to run single test class from command line using Maven and TestNG
Things that doesn't work:
mvn -Dtest=ClassName test
I have defined groups in pom.xml, and this class isn't in one of tho...
Jessamyn asked 11/11, 2010 at 22:34
2
I m facing a issue where test/resource is not picked,but instead jar's main/resource is picked
Scenario is like : Myproject
src/test/resources--- have config.xml w
which should be needed by abc.ja...
3
Solved
I have a jar in my maven repository that contains junit tests, which should be run in different projects, because it is able to inspect the project and test for certain features of it. Unforunately...
3
Solved
In order to clean up something of a giant mess, I set out to put the code of my tests all in one ordinary java project (all in src/main/java), and then declare that as a <scope>test</scope...
1
Solved
I've a parent pom project with various submodules. I want to get a report of the unit tests results but using surfire plugin, I get an independent result for each module.
I mean, if I execute:
mv...
1
Solved
My project has a few JUnit tests that I rarely want to run. To do so I put them in a @Category and then I did this:
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<...
2
Solved
Please excuse the newb question - my conceptual models are still quite incomplete...
I'm trying to re-execute TestNG tests from a command line using maven and surefire. My command line looks like:...
Robrobaina asked 31/12, 2012 at 20:28
© 2022 - 2024 — McMap. All rights reserved.