| Class | Uttk::Strategies::Cmd |
| In: |
lib/uttk/strategies/Cmd.rb
|
| Parent: | CmdBase |
I can check many interaction with a command line based program, such as: its standard output, exit status, standard error. I can specify to a given command its arguments, environment variables and standard input.
A tutorial introduces how to use this strategy at uttk.org/shelf/documentation
Methods
# File lib/uttk/strategies/Cmd.rb, line 25 def assertion fail('wrong exit value') if !@exit.nil? and @exit.to_i != @my_exit.to_i super end