surefire
Stop Tests on first Failure with Maven/JUnit/Spring
I\'d like Maven to stop trying to run my JUnit Spring tests when it encounters the first error. Is this possible?[详细]
2023-04-13 07:21 分类:问答Can I make Surefire perform expensive setup/teardown only once?
I have a series of unit tests that all need to talk to an Apache Zookeeper server.Obviously, if I had a library for mocking server connections (or an easy way to roll my own) 开发者_C百科that would be[详细]
2023-04-05 10:18 分类:问答Does Maven Surefire execute test cases sequentially by default?
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 sequentially by default: a tes[详细]
2023-04-01 22:03 分类:问答Excluding TestNG Groups From Maven
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 file as explained http://maven.apache[详细]
2023-03-30 09:53 分类:问答/tmp files filling up with surefires files
When Jenkins invokes maven build, /tmp fills with 100s of surefire8390141404开发者_运维知识库51157473tmp, how to explicitly redirect to another directory during the build. For clover build it fills wi[详细]
2023-03-20 02:13 分类:问答Simulating Maven Surefire behaviour with jUnit
I would like to write Ant task which would do exactly the same thing as Maven\'s Surefire plugin. The problem is that Surefire is basically a part of Maven so I can\'t find any information on what it[详细]
2023-03-17 19:09 分类:问答mvn test java.lang.OutOfMemoryError: unable to create new native thread
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 200 a[详细]
2023-03-08 06:00 分类:问答AspectJ :: Surefire tests gives NoSuchMethodError
I\'m doing the compile time AspectJ weaving on existing classes, that is working beautifully in eclipse(AJDT). But when I run test in in maven using surefire , the test cases of this class where the a[详细]
2023-02-17 08:25 分类:问答Setting up output directory of TestNG eclipse plugin
I\'d like to use both testNG eclipse plugin and maven surefire plugin together. And I was told here, that I can listen to the output folder \"target/surefire-reports\" when running maven test and the[详细]
2023-02-13 11:58 分类:问答Displaying junit fail messages through maven2
I have a Java project that is built through maven2.We use JUnits and occasionally have test failures.I\'m wondering if there is a way to display more information when the test fails.When I run the tes[详细]
2023-02-12 21:44 分类:问答