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
Expected Behavior
I should get the count and text mismatch error if there is one when I do gauge --validate, or I should get a compilation error.
Actual Behavior
The behavior is different with each language runner. Ruby - I am not getting any error
Steps to replicate
Create a project
gauge --init ruby
Give the implementation
step 'The word <word> has <count> vowels.' do |word,sdf, expectedCount|
assert_equal(expectedCount.to_i, count_vowels(word))
end
From the command line do
gauge --validate
It says no error. But there is a mismatch in the number of parameters and step text parameter count.
Actual Behavior
With java language runner the scenario fails.
This should not be treated as a failure. The test is not even being executed. This is an Gauge has to handle differently.
Expected Behavior
I should get the count and text mismatch error if there is one when I do gauge --validate, or I should get a compilation error.
Actual Behavior
The behavior is different with each language runner. Ruby - I am not getting any error
Steps to replicate
It says no error. But there is a mismatch in the number of parameters and step text parameter count.
Actual Behavior
With java language runner the scenario fails.
This should not be treated as a failure. The test is not even being executed. This is an Gauge has to handle differently.
Version
The text was updated successfully, but these errors were encountered: