Class: SleepingKingStudios::Tasks::Ci::StepsTask

Inherits:
StepsRunner show all
Includes:
ResultsHelpers
Defined in:
lib/sleeping_king_studios/tasks/ci/steps_task.rb

Overview

Thor task for running each step in the CI suite and generating a report.

Instance Attribute Summary

Attributes inherited from Task

#options

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Task

#initialize, #mute!, #mute?, #say

Methods included from Task::ClassMethods

#description, #option, #options, #task_name

Constructor Details

This class inherits a constructor from SleepingKingStudios::Tasks::Task

Class Method Details

.descriptionObject



12
13
14
# File 'lib/sleeping_king_studios/tasks/ci/steps_task.rb', line 12

def self.description
  'Runs the configured steps for your test suite.'
end

Instance Method Details

#call(*files) ⇒ Object



30
31
32
33
34
35
36
37
38
# File 'lib/sleeping_king_studios/tasks/ci/steps_task.rb', line 30

def call *files
  results = super

  report results

  report_failures results

  results
end