You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Verbose output does not report the correct parameters used for steps when using dynamic parameters. Dynamic parameters appear in the wrong order or are skipped entirely.
What command(s) did you run when you found the bug?
gauge run specs/gauge_test.spec --verbose
specs/gauge_test.spec:
# Minimal Example to reproduce error
| index | test_value |
|-------|---------------|
| 0 | orange |
## Test
* Step with "a" and "b" and "c"
* Step with <test_value> and "b" and "c"
* Step with "a" and <test_value> and "c"
* Step with "a" and "b" and <test_value>
step_impl/gauge_test.py:
from getgauge.python import step
@step("Step with <a> and <b> and <c>")
def step_test(a, b, c):
print('Expect: Step with "%s" and "%s" and "%s"' % (a,b,c))
Output, stack trace or logs related to the bug
Python: 3.6.9
# Minimal Example to reproduce error
|index|test_value|
|-----|----------|
|0 |orange |
## Test
Expect: Step with "a" and "b" and "c"
* Step with "a" and "b" and "c" ...[PASS]
Expect: Step with "orange" and "b" and "c"
* Step with "orange" and "b" and "c" ...[PASS]
Expect: Step with "a" and "orange" and "c"
* Step with "a" and "c" and "orange" ...[PASS]
Expect: Step with "a" and "b" and "orange"
* Step with "a" and "b" and "a" ...[PASS]
Describe the bug
Verbose output does not report the correct parameters used for steps when using dynamic parameters. Dynamic parameters appear in the wrong order or are skipped entirely.
What command(s) did you run when you found the bug?
specs/gauge_test.spec:
step_impl/gauge_test.py:
Output, stack trace or logs related to the bug
Versions
Gauge (Output of
gauge -v
)Node.js/Java/Python/.Net/Ruby version
Python 3.6.9
Operating System information
Ubuntu 18.04.5 LTS
The text was updated successfully, but these errors were encountered: