This question already has answers here: Make maven's surefire show stacktrace in console (3 answers)
I\'m using maven / surefire / eclipse to write some code and later test / debug it. Standard way to do it is by using maven.surefire.debug maven property. By default, when this property is enabled, m
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.
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>te
I have written some JUnit tests using JUnit 4 and spring-test libraries. When I run the tests inside Eclipse then run fine and pass. But when I run them using Maven (during the build process), they fa
By default maven surefile plugin run tests in isolated (forked) environment. You can override this behavior with following configuration:
I was wondering how different surefire is when executing TestNG than TestNG ant tasks? The reason is that I am seeing consistent difference in behavior when trying to run a TestNG test that extends a
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 is.
Is it possible to write something from inside the test to surefire-reports/MyClass.txt ? Any kind of logger etc ? There is a Reporter in TestNG:
My Maven build is failing on Hudson with a FileNotFoundException, I do not get the same failure through NetBeans. The FileNotFoundException is for some xml files in the same packages as my test classe