ReRun formatter runs all testcases after 4.2.2 release
See original GitHub issueSummary
ReRun runnner runs all testcases after 4.2.2 release
Expected Behavior
ReRun runner should only rerun failed testcases.
Current Behavior
ReRun test runner runs every testcase. This problem exists after 4.2.2
Parse rerun file in RuntimeOptions #1529
Steps to Reproduce (for bugs)
Create a Testng runner to create a rerun output file
@CucumberOptions(plugin = { "json:target/cucumber-parallel/cucumber-report.json", "html:target", "rerun:target/failed_scenarios.feature"}
, extraGlue = {"com.xxx.base.cucumber"}
, monochrome = true
, strict = true)
public class HTFCucumberBaseTests extends AbstractTestNGCucumberTests {
@Override
@DataProvider(parallel = true)
public Object[][] scenarios() {
return super.scenarios();
}
}
Create a Testng runner to re run the failed testcases.
@CucumberOptions(plugin = { "json:target/cucumber-parallel/cucumber-rerun-report.json", "html:target/feature-rerun"}
, features = "@target/failed_scenarios.feature"
, extraGlue = {"com.xxxx.base.cucumber"}
, monochrome = true
, strict = true)
public class CucumberReRunTests extends AbstractTestNGCucumberTests {
}
Context & Motivation
Your Environment
- Version used:
- Operating System and version:
- Link to your project:
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Rerun falied test cases for cucumber jvm parallel
I have created test cases in cucumber with selenium. I am using parallel execution to run my test cases. Below is my pom.xml...
Read more >Technical Difficulties with Rerun.txt tests - Google Groups
I am having some issues using the rerun.txt as input to my maven tests. cucumberTest.java: ... 1) mvm clean test #[Runs tests with...
Read more >Version 3.1.1 - Robot Framework User Guide
The test data is in simple, easy-to-edit tabular format. When Robot Framework is started, it processes the data, executes test cases and generates...
Read more >pytest Documentation - Read the Docs
The [100%] refers to the overall progress of running all test cases. After it finishes, pytest then shows a failure report.
Read more >Diagnosing and Resolving Problems - Oracle Help Center
Optionally run additional health checks or other diagnostics. For SQL-related errors, optionally invoke the SQL Test Case Builder, which gathers all required ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mpkorstanje this issue is not reproducible in version 4.2.5+
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.