Class: Piggly::TestTask

Inherits:
AbstractTask show all
Defined in:
lib/piggly/task.rb

Instance Attribute Summary collapse

Attributes inherited from AbstractTask

#cache_root, #name, #piggly_opts, #piggly_path, #procedures, #ruby_opts, #verbose

Instance Method Summary collapse

Constructor Details

#initialize(name = :piggly) ⇒ TestTask

Returns a new instance of TestTask.



170
171
172
173
174
175
# File 'lib/piggly/task.rb', line 170

def initialize(name = :piggly)
  @report_root = nil
  @test_files  = []
  @accumulate  = false
  super(name)
end

Instance Attribute Details

#accumulateObject

List of ruby test files to load



166
167
168
# File 'lib/piggly/task.rb', line 166

def accumulate
  @accumulate
end

#report_rootObject

List of ruby test files to load



166
167
168
# File 'lib/piggly/task.rb', line 166

def report_root
  @report_root
end

#test_filesObject

List of ruby test files to load



166
167
168
# File 'lib/piggly/task.rb', line 166

def test_files
  @test_files
end