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
richardgaunt
changed the title
Step Runner - checks to see whether the steps mocked arguments are equal rather than whether the
Step Runner - command arguments are not partially checked against mocked arguments
Mar 8, 2024
Step runner checks for whether the mocked arguments from the step definition are equal rather than contain the command arguments.
The documentation says it should be checking for whether the command's arguments contain the mocked argument.
see step helper: https://github.com/drevops/bats-helpers/blob/main/src/steps.bash#L196
see docs: https://github.com/drevops/bats-helpers/blob/main/docs/step-runner.md?plain=1#L59
Should change step helper to
assert_contains
rather thanassert_equal
The text was updated successfully, but these errors were encountered: