We use the command line to pass on system properties to the Java
virtual machine when running our Hudson builds on a Linux box. It used
to work quite ...
I would like to skip only a single test while launching
Is there a way to do that ?
I recently discovered that Hudson was not the problem. In actuality it was Maven itself as the multi-module build was causing the build failure, not Hudson. I just hadn't ...
Hi I am working through the tutorial here using windows XP and latest builds
Could someone please tell me what the tags are.
When I build with these tags included I ...
Id like to see stacktrace of unit tests in console, does surefire support this?
I have one main and one test config file which is shared by several maven projects. While testing, I am specifying the classpath to the directory where the test config file ...
Where can i find the DTD or XML Schema of surefire generated XML (TEST-.xml) file?
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 ...
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 ...
I have a project with several modules. When all tests pass, Maven test runs them all.
When tests fail in the first module, maven will not continue to the next project. I ...
I expected the following output:
But instead, this actually happens. Notice 2 problems: BeforeClass runs after
BeforeTest. Second, Before/AfterTest runs once
This is what I'm trying to do:
I am trying to invoke maven-surefire-plugin programatically. However I have to specify a dependency to junit library and a test classpath. I can specify a dependency to junit library in pom.xml ...
When running my unit tests in Maven on windows i'm getting an OutOfMemory exception. I tried to add -XX:-HeapDumpOnOutOfMemoryError option to the surefire argLine, but no dump file is generated.
I have maven-based project that consists of parent module (P) and 3 child modules (C1,C2,C3).
The child modules dependencies look as follows: C1->C2->C3 (C1 deppends on C2 etc).
Only C1 pom has the ...
I'm using Maven 2.2.1 r801777, Surefire 2.7.1, TestNG 5.14.6, Java 1.6.0_11 on Win XP.
I have only one test class with one empty test method and in my pom I have just ...
I know that it's possible to run a specific test class with
-Dtest=MyTest. But is it possible to run a specific test within that class?
testFoo() and ...
I am using TestNg and Maven with the surefire plugin to run my tests. I have several different components that I want to be able to run at different times ...
I am trying to make the generated surefire reports, link to the line in source code, where the error took place. I have followed everything mentioned on the plugins documentation over ...
I have some slow tests that rely on the database that I don't want run every time I build my project with Maven. I've added the excludedGroups element to my pom ...
I have two kinds of Unit tests (not integration test). Because of some strange behaviour with Spring Security I need to run first all normal tests, and later on the security ...
This is a follow up to this question which I realized when I dug deeper into my research:
Is it reasonable to suppose that the Maven Surefire plugin executes test cases ...
I have two surefire executions in one profile - they need different config.
When I run -Dtest=..., the matching test is running twice - once for each execution.
How can I make the ...
Is there some way to dry-run surefire?
Something which would list wich tests would run, without running them.
The goal is, to know which tests (would) run in AS7 testsuite under certain config.
When I run my build using maven 2
mvn clean install
my tests are run by surefire plug-in. In case test failed I get the following output:
Tests run: ...
I'm using httpunit to access a server.
I need to configure the proxy settings for this (http and https).
I set the configuration in the settings.xml file, but surefire seems to ignore it!?