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-465: Parameterized tests are skipped with const Array values #466

Merged
merged 1 commit into from
May 21, 2024

Conversation

MikeSchulze
Copy link
Owner

Why

The test was marked as skipped when the test_parameters contains external const array values.

const _data1 := ["aa"]
const _data2 := ["bb"]

@warning_ignore("unused_parameter")
func test_with_extern_const_parameter_set(value :String, test_parameters := [_data1, _data2]) -> void:

What

fix the parameterized argument parsing

# Why
The test was marked as skipped when the `test_parameters` contains external const array values.
```
const _data1 := ["aa"]
const _data2 := ["bb"]

@warning_ignore("unused_parameter")
func test_with_extern_const_parameter_set(value :String, test_parameters := [_data1, _data2]) -> void:
```

# What
fix the paramaterized argument parsiong
@MikeSchulze MikeSchulze self-assigned this May 21, 2024
@MikeSchulze MikeSchulze linked an issue May 21, 2024 that may be closed by this pull request
@MikeSchulze MikeSchulze merged commit 6d5cc8b into master May 21, 2024
@MikeSchulze MikeSchulze deleted the GD-465 branch May 21, 2024 19:01
@MikeSchulze MikeSchulze added the bug Something isn't working label May 29, 2024
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-465: Parameterized tests are skipped with const Array values
1 participant