Skip to content
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

GD-605: Fixes the CMD tool to collect multipe command arguments #606

Merged
merged 4 commits into from
Nov 30, 2024

Conversation

MikeSchulze
Copy link
Owner

Why

The CMD tool had an issue to collect all given arguments. e.g. using --add or --i multiple times it only applyes the first argument example:
./addons/gdUnit4/runtest.sh --add res://addons/gdUnit4/test/core/parse/ --add res://addons/gdUnit4/test/asserts/GdUnitAssertImplTest.gd -i GdDefaultValueDecoderTest -i GdScriptParserTest

What

  • fixes the root cause on CmdCommandHandler#execute to call the correct callable to handle collected arguments
    • add register callback validations to the handler
  • code formattings
  • remove obsolete code _enhanced_fr_test

# Why
The CMD tool had an issue to collect all given arguments.
e.g. using --add <value> or --i <value> multiple times it only applyes the first argument
example:
`./addons/gdUnit4/runtest.sh --add res://addons/gdUnit4/test/core/parse/ --add res://addons/gdUnit4/test/asserts/GdUnitAssertImplTest.gd -i GdDefaultValueDecoderTest -i GdScriptParserTest`

# What
- fixes the root cause on `CmdCommandHandler#execute` to call the correct callable to handle collected arguments
  - add register callback validations to the handler
- code formattings
- remove obsolete code `_enhanced_fr_test `
@MikeSchulze MikeSchulze self-assigned this Nov 30, 2024
@MikeSchulze MikeSchulze linked an issue Nov 30, 2024 that may be closed by this pull request
Copy link
Owner Author

@MikeSchulze MikeSchulze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved

@MikeSchulze MikeSchulze marked this pull request as ready for review November 30, 2024 11:55
@MikeSchulze MikeSchulze added the bug Something isn't working label Nov 30, 2024
@MikeSchulze MikeSchulze merged commit 7ad82a5 into master Nov 30, 2024
@MikeSchulze MikeSchulze deleted the GD-605 branch November 30, 2024 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GD-605: Command line: Skipping multiple suites not possible
1 participant