[
https://issues.apache.org/jira/browse/SUREFIRE-1985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sanidhya Vijaivargia updated SUREFIRE-1985:
-------------------------------------------
Description:
after running a particular module/project if the test fails even after
rerunning it N specified times the subsequent modules fail automatically
without running them.
import org.junit.Assert;import org.junit.Test;public class surefireTest {
private static boolean flag = true;
@Test public void test1() {
Assert.assertTrue(flag);
flag = false;
}
@Test public void test2() \{
test1();
}
@Test public void test3() \{
test1();
}
}
was:
after running a particular module/project if the test fails even after
rerunning it N specified times the subsequent modules fail automatically
without running them.
> While running test cases if a test case fails, need to kill the fork and run
> subsequent testcases(including the failed one) with a new fork
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SUREFIRE-1985
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1985
> Project: Maven Surefire
> Issue Type: Wish
> Components: process forking
> Reporter: Sanidhya Vijaivargia
> Priority: Major
>
> after running a particular module/project if the test fails even after
> rerunning it N specified times the subsequent modules fail automatically
> without running them.
> import org.junit.Assert;import org.junit.Test;public class surefireTest {
> private static boolean flag = true;
> @Test public void test1() {
> Assert.assertTrue(flag);
> flag = false;
> }
> @Test public void test2() \{
> test1();
> }
> @Test public void test3() \{
> test1();
> }
> }
--
This message was sent by Atlassian Jira
(v8.20.1#820001)