mavdi/grunt-cucumberjs

Report is overwritten when using re-run option

Opened this issue · 2 comments

According to documentation to re-run failed TCs automatically 2 commands must be executed:

  1. grunt cucumberjs -> report generated with failed TCs generated
  2. grunt cucumberjs --rerun=@rerun.txt -> truncated report generated only with re-ran TCs.

Is it possible to generate summary report which consist of all test cases which were ran?

Here is my grunt task

        cucumberjs: {
            src: 'src/test/features/originatedBy.feature',
            options: {
                formats: ['html','rerun:target/cucumber-reports/rerun.txt'],
                output: 'target/cucumber-reports/test-report.html',
                theme: 'bootstrap',
                debug: true,
                //reportSuiteAsScenarios: true

                //executeParallel: true
            }
        }

Labeling as Enhancement as it would be a new feature for both grunt & reporter.

What is your plan about this enhancement?

Right now due to sometimes instability of environment I want to have a possibility auto re-run of TCs, but due to lack of summary report this feature is not useful for me :(