Module: Satorix::CI::Test::Info

Extended by:
Info
Includes:
Shared::Console
Included in:
Info
Defined in:
lib/rails/generators/templates/custom_ci_job/satorix/CI/test/info.rb

Instance Method Summary collapse

Instance Method Details

#goObject

go() is the method that will be called during the CI run. You can add your own logic to do whatever you want.



12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'lib/rails/generators/templates/custom_ci_job/satorix/CI/test/info.rb', line 12

def go

  log_bench('Describing logging...') do
    describe_log
    describe_log_error
    describe_log_error_and_abort
  end

  log_bench('Describing console commands...') do
    describe_unsafe_run_command_string
    describe_run_command_array
    describe_run_command_filtered
    describe_run_command_quiet
    describe_run_command_with_error
  end

  log_bench('Describing environment variables...') { describe_environment_variables }
end