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
time cucumber features/foo4.feature > log.txt
real 0m42.226s
user 0m39.081s
sys 0m1.004s
cat log.txt
@announce
Feature: Interactive process control
In order to test interactive command line applications
As a developer using Cucumber
I want to use the interactive session steps
@ssh_remote
Scenario: Running ruby interactively # features/foo4.feature:8
Given the file "echo.rb" contains: # cuken-0.1.14/lib/cuken/cucumber/file.rb:36
"""
while res = gets.chomp
break if res == "quit"
puts res.reverse
end
"""
When I interactively run `ruby echo.rb` # cuken-0.1.14/lib/cuken/cucumber/cmd/execution.rb:20
$ cd /home/melezhik/tmp/cuken-test/tmp/aruba
$ /home/melezhik/.rvm/rubies/ruby-1.9.2-p180/bin/ruby echo.rb
And I type "hello, world" # cuken-0.1.14/lib/cuken/cucumber/cmd/execution.rb:28
And I type "quit" # cuken-0.1.14/lib/cuken/cucumber/cmd/execution.rb:28
Then the output contains: # cuken-0.1.14/lib/cuken/cucumber/output/all.rb:15
"""
dlrow ,olleh
"""
1 scenario (1 passed)
5 steps (5 passed)
0m2.165s
The text was updated successfully, but these errors were encountered: