-
Notifications
You must be signed in to change notification settings - Fork 4
feat: add optional asynchronous/parallel support #312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
Daan Timmer (daantimmer)
wants to merge
21
commits into
main
Choose a base branch
from
feature/add-optional-parallel/async-support
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
de36995
feat: add parallel support
daantimmer 5952264
Add feature hooks support and corresponding tests
daantimmer f583896
refactor: rename parallel presets to asynchronous and add new configu…
daantimmer 15dd373
fix: change return type to const for test case list in task latch ini…
daantimmer 0d28299
fix: remove unnecessary loop in task creation for test cases
daantimmer e626bf0
Merge branch 'main' into feature/add-optional-parallel/async-support
daantimmer 6fdada5
feat: add asynchronous support and update CI configurations
daantimmer 54f62ff
fix: update cucumber_gherkin GIT_TAG to unreleased main and remove C+…
daantimmer 52414ff
feat: update CI configuration to support asynchronous build and test …
daantimmer 26cbedb
fix: remove global compile option and conditionally set target compil…
daantimmer 4d126c1
feat: add cache variables for macOS Debug presets to specify Clang co…
daantimmer dc80b55
fix: update macOS Debug compiler paths to use LLVM 18
daantimmer 3af94f7
refactor: simplify macOS Debug presets by removing redundant cache va…
daantimmer 88e5a82
refactor: replace floating-point literals with integer constants for …
daantimmer 2e7d140
refactor: change floating-point literals to std::size_t for time cons…
daantimmer 66b8724
refactor: rename parameters in Step methods for clarity
daantimmer a4e3f74
fix: update cucumber_gherkin GIT_TAG to match unrelease PR
daantimmer a65fee8
refactor: remove unused runPassed member from Application class
daantimmer dcda946
refactor: mark parameters as maybe unused in step definitions
daantimmer a4987dc
fix: update cucumber_gherkin GIT_TAG to match unreleased main
daantimmer 963455f
chore: update libcoro to forked version fixing Wall and Wextra being …
daantimmer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,12 @@ | ||
| #include "cucumber_cpp/Steps.hpp" | ||
| #include <string> | ||
|
|
||
| STEP(R"(^a (.*?) with (.*?)$)", (const std::string& arg1, const std::string& arg2)) | ||
| STEP(R"(^a (.*?) with (.*?)$)", ([[maybe_unused]] const std::string& arg1, [[maybe_unused]] const std::string& arg2)) | ||
| { | ||
| // no-op | ||
| } | ||
|
|
||
| STEP(R"(^a step with (.*?)$)", (const std::string& arg1)) | ||
| STEP(R"(^a step with (.*?)$)", ([[maybe_unused]] const std::string& arg1)) | ||
| { | ||
| // no-op | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| #include "cucumber_cpp/Steps.hpp" | ||
| #include <cstdint> | ||
|
|
||
| STEP(R"(I have {int} cukes in my belly)", (std::int32_t number)) | ||
| STEP(R"(I have {int} cukes in my belly)", ([[maybe_unused]] std::int32_t number)) | ||
| { | ||
| // no-op | ||
| } |
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
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
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
4 changes: 4 additions & 0 deletions
4
cucumber_cpp/acceptance_test/features/test_optional_feature_hooks.feature
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| @featurehook | ||
| Feature: Test feature hook bindings | ||
| Scenario: Run feature hooks before and after | ||
| Given a given step |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
todo(?)