lib/poise_boiler/helpers/kitchen.rb
# Generate a Test Kitchen platform configuration hash.
#
# @return [Hash]
Generate a Test Kitchen platform configuration hash.
Generate a Test Kitchen platform configuration hash .
def platform_config(name)
        {
          'name' => name,
          'run_list' => ((ENV['CI'] || ENV['DEBUG'] || ENV['PROFILE']) ? %w{poise-profiler} : []),
        }.tap {|cfg| cfg.update(windows_platform_config(name)) if name.include?('windows') }
      end
def platform_config ( name ) { 'name' => name , 'run_list' => ( ( ENV [ 'CI' ] || ENV [ 'DEBUG' ] || ENV [ 'PROFILE' ] ) ? %w{ poise-profiler } : [ ] ) , } . tap { | cfg | cfg . update ( windows_platform_config ( name ) ) if name . include? ( 'windows' ) } end
Generate a Test Kitchen platform configuration hash.
Generate a Test Kitchen platform configuration hash .
# On CI enable poise-profiler automatically. Load it here in case the # user defines their own suites.
None
Hash
name
<not_specific>