surefire
How to output failed test's strack traces to the console [duplicate]
This question already has answers here: Make maven's surefire show stacktrace in console (3 answers)[详细]
2023-01-24 12:50 分类:问答how to debug maven surefire test more easily (using eclipse as debug server)
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[详细]
2023-01-17 06:08 分类:问答Maven Surefire: Unable to fork parallel test execution
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.[详细]
2023-01-13 10:33 分类:问答run maven tests from classpath
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[详细]
2023-01-12 10:17 分类:问答JUnit tests pass in Eclipse but fail in Maven Surefire
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[详细]
2023-01-09 05:25 分类:问答Maven surefire plugin fork mode
By default maven surefile plugin run tests in isolated (forked) environment. You can override this behavior with following configuration:[详细]
2023-01-06 15:31 分类:问答TestNG Ant tasks vs Surefire
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[详细]
2023-01-04 15:22 分类:问答maven surefire additionalClasspathElements single test
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.[详细]
2023-01-04 10:32 分类:问答How to write something to surefire log with JUnit 4
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:[详细]
2023-01-01 13:22 分类:问答Maven test failure xml FileNotFoundException
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[详细]
2023-01-01 00:28 分类:问答