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

Inherits:
Brut::CLI::App show all
Defined in:
lib/brut/cli/apps/test.rb

Defined Under Namespace

Classes: Audit, E2e, JS, Run

Instance Method Summary collapse

Methods inherited from Brut::CLI::App

#after_bootstrap, commands, configure_only!, configure_only?, default_command, default_env, description, env_var, #execute!, #initialize, option_parser, opts, requires_project_env, requires_project_env?

Methods included from I18n::ForCLI

#capture, #html_escape, #safe

Methods included from I18n::BaseMethods

#l, #t, #t_direct, #this_field_value

Methods included from ExecutionResults

#abort_execution, #as_execution_result, #cli_usage_error, #continue_execution, #show_cli_usage, #stop_execution

Constructor Details

This class inherits a constructor from Brut::CLI::App

Instance Method Details

#before_executeObject



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

def before_execute
  ENV["RACK_ENV"] = "test"
end