surefire
Maven/TestNG reports "Failures: 0" but then "There are test failures.", what's wrong?
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 added TestNG dependency. When I[详细]
2023-02-11 09:21 分类:问答Unable to force newer version of surefire-plugin in Maven
I have a maven project and I am using the surefire-plugin to run my tests. Previously, I didn\'t force any version and maven picked up the 2.4.3 for me (why ??).[详细]
2023-02-11 03:11 分类:问答How to: Run maven integration tests against a test environment (database)
I\'m using maven and the maven-failsafe-plugin to start up jetty during the integration-test lifecycle phase.I then execute a number of (*IT.java) junit tests against my running webapp.This is working[详细]
2023-02-11 03:08 分类:问答Running all tests from a @Category using Maven
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.[详细]
2023-02-10 03:43 分类:问答《Surefire》MP3歌词-John Legend?
Surefire John Legend 专辑:Darkness and Light 语种: 英语 发行时间:2016-12-02 本歌词于吾爱知道[详细]
2023-02-06 22:17 分类:问答surefire HeapDumpOnOutOfMemoryError
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.[详细]
2023-02-03 00:54 分类:问答Maven Surefire Report Missing from Generated Site
I\'m having a little difficulty in getting the surefire report to appear in the generated site. I run mvn clean site:site and the report is missing.[详细]
2023-01-29 17:58 分类:问答Is there a way to tell surefire to skip tests in a certain package?
Something like the following. I would like a way to skip my dao tests in surefire.Trying to avoid overhead of defining Suites.[详细]
2023-01-29 06:49 分类:问答How to split maven-surefire-plugin execution to two separate executions?
This is what I\'m trying to do: [...] <plugin> <groupId>org.apache.maven.plugins</groupId>[详细]
2023-01-28 11:57 分类:问答Order of Maven+Surefire+Testng - BeforeClass, BeforeTest, Test, Test, AfterTest, AfterClass
I expected the following output: Running TestSuite [DEBUG] beforeClass [DEBUG] beforeTest [DEBUG] test [DEBUG] afterTest[详细]
2023-01-27 06:54 分类:问答