feat(AB#1273974): repeat feature#330
Open
Artem Pogorelov (art-pogorelov) wants to merge 3 commits intophilips-software:mainfrom
Open
feat(AB#1273974): repeat feature#330Artem Pogorelov (art-pogorelov) wants to merge 3 commits intophilips-software:mainfrom
Artem Pogorelov (art-pogorelov) wants to merge 3 commits intophilips-software:mainfrom
Conversation
Copilot started reviewing on behalf of
Artem Pogorelov (art-pogorelov)
April 23, 2026 12:13
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a “repeat” execution mechanism intended to mirror existing retry behavior, allowing selected scenarios to be executed multiple times for performance measurement.
Changes:
- Introduces
repeat/repeatTagExpressioninto runtime run options and threads them through application/run options wiring. - Updates the runtime
Workerto run each matching test case multiple times and aggregate pass/fail across repeats. - Adds a new compatibility kit (
compatibility/repeat/*) and wires repeat settings intoBaseCompatibility.cpp.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
cucumber_cpp/library/support/Types.hpp |
Adds repeat fields to runtime options. |
cucumber_cpp/library/runtime/Worker.cpp |
Implements repeat loop execution per test case. |
cucumber_cpp/library/Application.hpp |
Adds repeat fields to CLI/options struct. |
cucumber_cpp/library/Application.cpp |
Forwards repeat options into RunOptions. |
compatibility/BaseCompatibility.cpp |
Sets repeat options for the repeat devkit kit. |
compatibility/repeat/repeat.feature |
New feature for repeat compatibility coverage. |
compatibility/repeat/repeat.cpp |
Step definitions for the repeat kit. |
compatibility/repeat/repeat.ndjson |
Expected message output for repeat kit. |
compatibility/repeat/repeat.arguments.txt |
Declares intended CLI args for repeat kit. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Copilot started reviewing on behalf of
Artem Pogorelov (art-pogorelov)
April 23, 2026 12:35
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Add
--repeat Nand--repeat-tag-filter <expression>CLI options to re-run matching scenarios N times (useful for performance measurements, for example).This mirrors the existing --retry pattern but runs unconditionally.
Behavior
--repeat 10→ every scenario runs 10 times--repeat 10 --repeat-tag-filter "@Performance"→ only scenarios tagged performance run 10 times; others run onceDefault (--repeat 1 or omitted) → no behavior change
Each repeat is a full independent execution (hooks fire each time)
Exit code: fail if any repeat fails
Testing
Verify with:
runner.exe features --repeat 3 --repeat-tag-filter "@SomeTag"Confirm the tagged scenario runs 3 times and untagged scenarios run once.