Class: Brut::CLI::Apps::Test

Inherits:
Commands::BaseCommand show all
Defined in:
lib/brut/cli/apps/test.rb

Defined Under Namespace

Classes: Audit, E2e, Js, Run

Instance Attribute Summary

Attributes inherited from Commands::BaseCommand

#parent_command

Instance Method Summary collapse

Methods inherited from Commands::BaseCommand

#accepts, #args_description, #argv, #bootstrap?, #commands, #delegate_to_command, #detailed_description, #env, #env_vars, #execute, #name, #options, #puts, #stdin, #system!, #theme

Instance Method Details

#default_commandObject



8
# File 'lib/brut/cli/apps/test.rb', line 8

def default_command = Run.new

#default_rack_envObject



7
# File 'lib/brut/cli/apps/test.rb', line 7

def default_rack_env = "development"

#descriptionObject



5
# File 'lib/brut/cli/apps/test.rb', line 5

def description = "Run and audit tests of the app"

#optsObject



9
# File 'lib/brut/cli/apps/test.rb', line 9

def opts = default_command.opts

#runObject



10
11
12
# File 'lib/brut/cli/apps/test.rb', line 10

def run
  delegate_to_command(default_command)
end