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
After running the gauge specs successfully I should not get a failure message
Actual behavior
Getting Failed to start Gauge Ruby runner. exit status 1 after the successful run of gauge specs
Steps to replicate
Create a ruby project
gauge --init ruby
Give the implementation
require 'test/unit'
include Test::Unit::Assertions
@vowels = nil;
step 'Vowels in English language are <vowels>.' do |vowels|
@vowels = vowels.scan(/./);
end
step 'The word <word> has <count> vowels.' do |word, expectedCount|
assert_equal(expectedCount.to_i, count_vowels(word))
end
step 'Almost all words have vowels <table>' do |wordsTable|
wordsTable.rows().each do |row|
word = row[0];
expectedCount = row[1].to_i
actualCount = count_vowels(word)
assert_equal(expectedCount, actualCount)
end
end
def count_vowels(string)
string.count(@vowels.to_s)
end
run the specs.
gauge specs
# Specification Heading
## Vowel counts in single word ✔ ✔
## Vowel counts in multiple word ✔ ✔
Successfully generated html-report to => /Users/sswaroop/work/rubytest/reports/html-report
Failed to start Gauge Ruby runner. exit status 1
Specifications: 1 executed 1 passed 0 failed 0 skipped
Scenarios: 2 executed 2 passed 0 failed 0 skipped
It is successful, but we get the following error Failed to start Gauge Ruby runner. exit status 1
The text was updated successfully, but these errors were encountered:
Expected behavior
After running the gauge specs successfully I should not get a failure message
Actual behavior
Getting
Failed to start Gauge Ruby runner. exit status 1
after the successful run of gauge specsSteps to replicate
It is successful, but we get the following error
Failed to start Gauge Ruby runner. exit status 1
The text was updated successfully, but these errors were encountered: