Class: Verity::Manifest::ClaimedRow

Inherits:
Data
  • Object
show all
Defined in:
lib/verity/manifest.rb

Overview

Public: Immutable value object returned by claim_next representing a single test row from the manifest with all its stored metadata.

fingerprint - String content-based test identifier. file - String source file path. line - Integer source line number. description - String human-readable test name. method - String derived test method name. tags - Array of tag Strings. requires - Array of precondition Strings. resources - Hash of resource metadata. timeout - Float seconds or nil. status - Symbol (:pending, :running, :passed, :failed, :errored). worker_id - Integer or nil. failure - Hash with “class”, “message”, “backtrace” keys, or nil. queue_index - Integer coordinator dispatch order for this run.

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionObject (readonly)

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



30
31
32
# File 'lib/verity/manifest.rb', line 30

def description
  @description
end

#failureObject (readonly)

Returns the value of attribute failure

Returns:

  • (Object)

    the current value of failure



30
31
32
# File 'lib/verity/manifest.rb', line 30

def failure
  @failure
end

#fileObject (readonly)

Returns the value of attribute file

Returns:

  • (Object)

    the current value of file



30
31
32
# File 'lib/verity/manifest.rb', line 30

def file
  @file
end

#fingerprintObject (readonly)

Returns the value of attribute fingerprint

Returns:

  • (Object)

    the current value of fingerprint



30
31
32
# File 'lib/verity/manifest.rb', line 30

def fingerprint
  @fingerprint
end

#lineObject (readonly)

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



30
31
32
# File 'lib/verity/manifest.rb', line 30

def line
  @line
end

#methodObject (readonly)

Returns the value of attribute method

Returns:

  • (Object)

    the current value of method



30
31
32
# File 'lib/verity/manifest.rb', line 30

def method
  @method
end

#queue_indexObject (readonly)

Returns the value of attribute queue_index

Returns:

  • (Object)

    the current value of queue_index



30
31
32
# File 'lib/verity/manifest.rb', line 30

def queue_index
  @queue_index
end

#requiresObject (readonly)

Returns the value of attribute requires

Returns:

  • (Object)

    the current value of requires



30
31
32
# File 'lib/verity/manifest.rb', line 30

def requires
  @requires
end

#resourcesObject (readonly)

Returns the value of attribute resources

Returns:

  • (Object)

    the current value of resources



30
31
32
# File 'lib/verity/manifest.rb', line 30

def resources
  @resources
end

#statusObject (readonly)

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



30
31
32
# File 'lib/verity/manifest.rb', line 30

def status
  @status
end

#tagsObject (readonly)

Returns the value of attribute tags

Returns:

  • (Object)

    the current value of tags



30
31
32
# File 'lib/verity/manifest.rb', line 30

def tags
  @tags
end

#timeoutObject (readonly)

Returns the value of attribute timeout

Returns:

  • (Object)

    the current value of timeout



30
31
32
# File 'lib/verity/manifest.rb', line 30

def timeout
  @timeout
end

#worker_idObject (readonly)

Returns the value of attribute worker_id

Returns:

  • (Object)

    the current value of worker_id



30
31
32
# File 'lib/verity/manifest.rb', line 30

def worker_id
  @worker_id
end