Class: Specbandit::BatchResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/specbandit/adapter.rb

Overview

Result of running a single batch of test files. Adapters return instances of this (or a subclass) from #run_batch.

Direct Known Subclasses

RspecBatchResult

Instance Attribute Summary collapse

Instance Attribute Details

#batch_numObject

Returns the value of attribute batch_num

Returns:

  • (Object)

    the current value of batch_num



6
7
8
# File 'lib/specbandit/adapter.rb', line 6

def batch_num
  @batch_num
end

#durationObject

Returns the value of attribute duration

Returns:

  • (Object)

    the current value of duration



6
7
8
# File 'lib/specbandit/adapter.rb', line 6

def duration
  @duration
end

#exit_codeObject

Returns the value of attribute exit_code

Returns:

  • (Object)

    the current value of exit_code



6
7
8
# File 'lib/specbandit/adapter.rb', line 6

def exit_code
  @exit_code
end

#filesObject

Returns the value of attribute files

Returns:

  • (Object)

    the current value of files



6
7
8
# File 'lib/specbandit/adapter.rb', line 6

def files
  @files
end