-
Notifications
You must be signed in to change notification settings - Fork 4
feat!: rewrite to use cucumber messages #273
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
Open
daantimmer
wants to merge
198
commits into
main
Choose a base branch
from
feature/rewrite-to-use-cucumber-messages
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.
+13,055
−6,121
Open
Changes from all commits
Commits
Show all changes
198 commits
Select commit
Hold shift + click to select a range
1457b95
feat!: rewrite to use cucumber messages
daantimmer e8e9362
enable ccache
daantimmer 792332e
disable the build of shared libs
daantimmer e8c96aa
disable position independent code generation for jbeder/yaml-cpp
daantimmer 48d99c6
add additional launch tags
daantimmer 1ae9468
add first version (empty, minimal and data-tables are enabled) of the…
daantimmer 10137be
refactored a lot of code
daantimmer 7ac6e9c
removed unused files
daantimmer 77b4762
update devcontainers for CI
daantimmer 50a2bce
removed agauniyal/rang from dependencies
daantimmer 4054607
cleanup Application
daantimmer 45a4380
sanitize and dump actual and expected json
daantimmer 958e05c
set option variables for dependencies as cache variables
daantimmer 6eb2da0
fix grouping for string parameter
daantimmer ece0b62
use ScopedFakeTestPartResultReporter instead of EmptyTestEventListene…
daantimmer 6f1f4c8
Enable the following compatibility tests: ambiguous, backgrounds, cda…
daantimmer 07a77d7
add examples-tables-attachment compatibility test
daantimmer 028dcc5
add attachments compatibility test
daantimmer 640986f
enabled examples-tables-undefined and global-hooks compatibility test
daantimmer cbb2f0c
Added global-hooks-afterall-error, global-hooks-attachments, global-h…
daantimmer dfe7157
add all compatibility checks by default regardless if a cpp implement…
daantimmer de2aaeb
add hooks-named, hooks-skipped and hooks-undefined compatibility tests
daantimmer d1a3e52
add multiple-features and multiple-features-reverses compatibility tests
daantimmer cad1bcf
Merge branch 'main' into feature/rewrite-to-use-cucumber-messages
daantimmer 83c6e5a
fix clang-msvc build
daantimmer 13484a5
fix clang-msvc build
daantimmer c7ee029
fix MSVC build
daantimmer 4a9afab
fix MSVC build
daantimmer d11d0d0
add parameter-types compatibility tests
daantimmer 78f70e1
add pending compatibility tests
daantimmer c67ebd4
fixed TestExpression tests
daantimmer 323b2d4
fixed TestExpression tests
daantimmer 3be881a
add retry, retry-ambiguous, retry-pending and retry-undefined compati…
daantimmer e94534c
add rules, rules-backgrounds and skipped compatibility tests
daantimmer c235f1a
add undefined, unknown-parameter-type and unused-steps compatibility …
daantimmer 5893f62
fixed build issues and solved sonarcloud warnings
daantimmer d75b763
make URI cross-OS compatible
daantimmer 917debc
remove compatibility kit from ls-lint
daantimmer 5815b57
fix possible null-pointer dereference
daantimmer 9986ec8
make uri's canonical
daantimmer c66a111
fixed const instead of static
daantimmer 3e626e7
fix sonar warnings and replace \r\n with \n
daantimmer 5c23d80
refactor RemoveIncompatibilities to improve iteration and const corre…
daantimmer 1ad2458
refactor RemoveIncompatibilities to enhance iteration logic and ensur…
daantimmer e10babb
remove old reporters
daantimmer a56826e
remove unused stuff
daantimmer 998dbd2
refactor to reduce nesting
daantimmer 811ac18
refactory HookRegistry
daantimmer 76ed6f4
refactored Parameter
daantimmer d61854c
refactored Query.hpp
daantimmer ba22049
removed TraceTime
daantimmer 6a2492c
Refactored RunCucumber
daantimmer 54278d0
minor refactorings
daantimmer 867e06e
minor refactorings
daantimmer 0715a6e
remove unused files
daantimmer 2d07945
fixed co-pilot comments
daantimmer 03832cd
fix bats-acceptance tests
daantimmer c9994f4
minor updates
daantimmer ef2d0c1
add summary formatter to debug launch configurations
daantimmer 3dbb76e
add summary formatter to test.bats
daantimmer efe611e
query is now also a broadcaster for events
daantimmer a0f27cc
moved to new api::Formatters to register/enable formatters
daantimmer da2fcfb
remove unused eventDataCollector member from PrettyPrinter
daantimmer 88e3a93
refactor: simplify title formatting in PrettyPrinter
daantimmer ee24b6f
refactor: update message formatting in FormatMessage function
daantimmer f3f2b9f
refactor: enhance error message in BuildArguments for better clarity
daantimmer 2c52a4a
refactor: streamline hook assembly in AssembleTestSteps for improved …
daantimmer 4782695
refactor: update test script and application files to improve formatt…
daantimmer ef11c11
refactor: enhance tests for TreeRegexp to clarify limitations of std:…
daantimmer c1d2a0b
refactor: rename ExtractStep to ExtractSteps for clarity and consistency
daantimmer 0ff58a4
refactor: rename FormatMessage to FormatTestFailureMessage for clarity
daantimmer aa57ace
chore: update SonarQube scan action to version 7.0.0
daantimmer 1eaefa6
refactor: add debug output steps to static analysis workflow for bett…
daantimmer 7231def
refactor: update static analysis workflow to include exit codes for d…
daantimmer 5f59bca
refactor: update static analysis workflow to use logical OR for exit …
daantimmer 04b8aa4
refactor: update static analysis workflow to use 'true' for exit code…
daantimmer c23eabf
refactor: update test commands to use 'pretty' format for better outp…
daantimmer 51fd45e
refactor: add coverage clean step and duplicate directory size checks…
daantimmer b9adf82
refactor: update test cases to correctly handle mandatory arguments a…
daantimmer 794c541
refactor: remove tee command from bats task to simplify output handling
daantimmer 8c18af3
refactor: remove unnecessary trailing commas in launch.json arguments
daantimmer 5879949
refactor: replace strong ordering operators with SourceLocationOrder …
daantimmer 5fd1def
refactor: simplify character class and group handling in regex parsing
daantimmer 0e1a68b
refactor: use EXIT_SUCCESS and EXIT_FAILURE for exit codes in GetExit…
daantimmer 3819881
refactor: move operator+ overloads for Lineage into the class definit…
daantimmer 86b0bad
refactor: update SonarQube issue ignore rules to include additional c…
daantimmer f1e4d65
refactor: remove unnecessary blank line at the end of Parameter.cpp
daantimmer 60af5a5
refactor: use default comparator for orderingMap in Application.cpp
daantimmer 4b546b1
refactor: update launch arguments to use --tags instead of --tag
daantimmer 6e50738
refactor: update formatter registration to use nlohmann::json for for…
daantimmer c82fa49
refactor: introduce FormatterOption struct for improved formatter han…
daantimmer b2155bf
refactor: enhance compatibility handling and streamline step registra…
daantimmer f91df55
refactor: simplify LoadDevkit function and improve path handling
daantimmer 2e421e5
refactor: mark FormatterOption constructor as explicit
daantimmer 6338f25
refactor: implement group parsing logic in TreeRegexp and enhance str…
daantimmer 8e6e1f4
refactor: move ParameterRegistration instance to header for better vi…
daantimmer ccb2404
refactor: replace emplace with try_emplace for custom output file han…
daantimmer cffd389
refactor: remove unused includes from Body.cpp
daantimmer 8c8dc9d
refactor: simplify event listener management and enhance parameter em…
daantimmer c8a25e4
refactor: improve AssembleSteps function signature and optimize assem…
daantimmer a47f823
refactor: optimize Argument constructor by using std::move for group …
daantimmer 4902aaa
refactor: implement custom signal handler for SIGABRT
daantimmer 3a7dac9
refactor: update CMakeLists to use consistent library naming and impr…
daantimmer e6c718b
refactor: replace ConverterTypeMap with support::ConverterTypeMap and…
daantimmer c46a929
refactor: remove unused GTest dependencies and clean up CMakeLists files
daantimmer f65ebd1
refactor: remove GTest dependencies and clean up RunCucumber implemen…
daantimmer f95d924
refactor: remove Parameter class and update related implementations t…
daantimmer bb8ceed
refactor: remove unused Body include from Worker.cpp
daantimmer 4ac0d91
movesupport code to the support library
daantimmer b77cf83
refactor: enable test subdirectory and add dummy test implementation
daantimmer fe31842
refactor: remove unused includes from Token.hpp
daantimmer f5cfead
refactor: update parameter registration and step handling to use supp…
daantimmer 7ab4c0e
Refactor Query and Formatter Integration
daantimmer 3af273c
refactor: reorganize formatter library to use helper functions and im…
daantimmer 56a2de7
treat warnings as errors only
daantimmer e167a27
refactor: move address sanitizer options under CCR_STANDALONE condition
daantimmer e7c416a
refactor: add CCR_STANDALONE condition for compilation and logging in…
daantimmer 8e9835a
refactor: reorganize GoogleTest integration and remove redundant incl…
daantimmer de7fd17
refactor: add SYSTEM option to FetchContent_Declare for multiple depe…
daantimmer 74141ce
refactor: update container image to version 6.6.4 in Dockerfile and C…
daantimmer d2b4f24
refactor: update library link targets to use scoped names for CLI11 a…
daantimmer 594503b
refactor: remove unused duration includes and improve hook error hand…
daantimmer 9007ce1
refactor: update CCR_FETCH_DEPS option to use CCR_DEFAULTOPT and add …
daantimmer 7087103
refactor: add retryTagExpression to runtime configuration in compatib…
daantimmer 5e1de27
refactor: reorganize CMakeLists.txt files and add fmtlib dependency
daantimmer 0f3d0ce
refactor: rename PrettyPrinter to PrettyFormatter and implement forma…
daantimmer 77cc94b
refactor: enhance PrettyFormatter to support attachment formatting an…
daantimmer 5df8140
wip: JUnitXmlFormatter
daantimmer d7895d0
WIP: junit xml progress
daantimmer 022138e
refactor: improve GetUniqueFeatureName logic for better readability a…
daantimmer 665103e
feat: add MessageFormatter to handle cucumber messages
daantimmer e717651
feat: enhance JunitXmlFormatter and Query for improved test reporting…
daantimmer 9329317
fix: update FindLocationOf to return location from tableRow if available
daantimmer 6ee3064
refactor: add comments for future implementation of step argument for…
daantimmer 412b781
feat: update test runner to include message format for improved outpu…
daantimmer b1c6aa0
feat: add custom fixture support with LoadMeOnConstruction for enhanc…
daantimmer ff480c9
feat: implement byte and short parameter converters for improved type…
daantimmer 1e84a7a
feat: expand README with detailed usage instructions and custom param…
daantimmer 0c38290
fix: update step definition to use std::int32_t for improved type con…
daantimmer 19d145d
fix: improve MakeIso8601Timestamp by using duration_cast for better t…
daantimmer 0110450
fix: correct include directive for pugixml in JunitXmlFormatter
daantimmer b2f4b23
fix: update CMakeLists.txt to specify pugixml as a target and comment…
daantimmer c3454bc
fix: conditionally include yaml-cpp and jbeder based on CCR_BUILD_TES…
daantimmer ef974a2
swap cpp-terminal with fmt
daantimmer 3a2f838
feat: add TextBuilder class for structured text formatting
daantimmer f6ef4df
fix: update launch configuration to use 'summary' and 'pretty' format…
daantimmer 6780053
refactor: simplify IndentString implementation using fmt library
daantimmer 128be72
refactor: replace std::format with fmt library for string formatting …
daantimmer 607b1af
refactor: replace std::format with fmt library for string formatting …
daantimmer c99c357
feat: implement nested steps functionality and enhance step execution…
daantimmer 6d7a37e
feat: enhance acceptance tests and update Application class for recur…
daantimmer f07be6d
fix: correct spelling of 'language' in CLI option description
daantimmer 7f51629
feat: add configuration dumping option and update default values for …
daantimmer bf667b3
enable proper theming for PrettyFormatter
daantimmer 2f359f4
feat: add support for ambiguous steps and enhance PrettyFormatter for…
daantimmer 366d9d2
feat: update FindLocationOf to return optional location for better er…
daantimmer 1dff606
feat: refactor PrettyFormatter to improve error handling and streamli…
daantimmer 2dc68e0
feat: enhance sanitizer options for better memory error detection
daantimmer 49fd5f5
feat: enhance PrettyFormatter to include feature and rule line options
daantimmer 320e3d2
feat: add logging for running features with specified tags
daantimmer 35bbd08
feat: remove Rtrim implementation and replace with util::Trim for con…
daantimmer 973f947
feat: refactor PrettyFormatter to use helper functions for message fo…
daantimmer 35a1351
feat: refactor PrettyFormatter to utilize helper functions for messag…
daantimmer dc636b8
feat: update PrettyFormatter to conditionally print feature and rule …
daantimmer b4ebaae
feat: update launch configuration to include summary and retry option…
daantimmer e9f4e08
feat: update SummaryFormatter to include test_case_started message an…
daantimmer 80c7af7
feat: enhance formatters to support hook messages and improve output …
daantimmer 3d79b01
Refactor cucumber_cpp formatter helper library
daantimmer e038079
feat: update SummaryFormatter to support custom format options and im…
daantimmer b3f8d36
refactor: simplify paths storage type and clean up unused includes
daantimmer c7ff960
feat: update FormatStepText to include test_step_result_status for im…
daantimmer 7ed5f33
feat: add UsageFormatter and related query enhancements for improved …
daantimmer a334199
feat: enhance UsageFormatter with dry run support and mean duration c…
daantimmer fc244f6
feat: improve scenario result counting and handle missing test step r…
daantimmer 21a3b78
feat: add unused scenario and related test structure for usage reporting
daantimmer bc3ab21
Merge branch 'main' into feature/rewrite-to-use-cucumber-messages
daantimmer 63523cc
feat: remove redundant disk usage checks from static analysis workflow
daantimmer 9766418
feat: update fmt library linkage to use fmt::fmt instead of fmt-heade…
daantimmer d7aa5d2
feat: update test for Step to check dataTable access
daantimmer 8506b7e
fix: correct variable name from linaege to lineage in Query.cpp
daantimmer 27ba908
feat: remove Join utility functions from support library
daantimmer fcd6ac2
feat: enable all formatters for compatibility tests
daantimmer 1728fc9
fix: add null check for test_case_started_id in HandleAttachment
daantimmer 85d5b33
fix: add check for empty testStepFinishedAndTestSteps in Query.cpp
daantimmer 9ad849e
fix: add null check for step_definition_ids in UsageFormatter
daantimmer a53f3d6
fix: update step_definition_ids access to use value() for better clarity
daantimmer 92d8e36
refactor: replace std::format with fmt::format for consistency in for…
daantimmer b26b67a
refactor: replace std::format with fmt::format for consistency across…
daantimmer b51cee3
refactor: replace std::format with fmt::format in Query.cpp for consi…
daantimmer 9c067ad
refactor: replace std::format with fmt::format in Body.cpp for consis…
daantimmer 11514b2
refactor: replace std::format with fmt::format for consistency across…
daantimmer fc729ad
refactor: replace std::format with fmt::format for consistency in App…
daantimmer 429f716
refactor: include fmt/chrono.h for consistency in Timestamp.cpp
daantimmer 65b4b02
refactor: update include path for fmt/format.h in Argument.cpp for co…
daantimmer f2dff72
refactor: enhance exception message formatting in FormatMessages.cpp
daantimmer 1a8d52c
refactor: demangle exception type names in Body.cpp for improved read…
daantimmer b764e26
refactor: add scenario for exception throwing and update test tags fo…
daantimmer de69483
refactor: replace std::forward_as_tuple with std::make_tuple for impr…
daantimmer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,3 +12,4 @@ ignore: | |
| - external | ||
| - megalinter-reports | ||
| - testdata | ||
| - compatibility | ||
daantimmer marked this conversation as resolved.
Show resolved
Hide resolved
daantimmer marked this conversation as resolved.
Show resolved
Hide resolved
daantimmer marked this conversation as resolved.
Show resolved
Hide resolved
daantimmer marked this conversation as resolved.
Show resolved
Hide resolved
|
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
daantimmer marked this conversation as resolved.
Show resolved
Hide resolved
|
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
daantimmer marked this conversation as resolved.
Show resolved
Hide resolved
|
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.
Uh oh!
There was an error while loading. Please reload this page.