Class: Completely::Commands::Test

Inherits:
Base
  • Object
show all
Defined in:
lib/completely/commands/test.rb

Instance Method Summary collapse

Methods inherited from Base

environment_config_path, environment_debug, option_function, param_config_path

Instance Method Details

#runObject



23
24
25
26
27
28
29
# File 'lib/completely/commands/test.rb', line 23

def run
  puts tester.test(compline).join "\n"
  if args['--keep']
    File.write 'completely-tester.sh', tester_script
    puts 'saved completely-tester.sh'
  end
end