Class: RSpec::Rewind::RetryContext

Inherits:
Struct
  • Object
show all
Defined in:
lib/rspec/rewind/retry_decision.rb

Instance Attribute Summary collapse

Instance Attribute Details

#attemptObject

Returns the value of attribute attempt

Returns:

  • (Object)

    the current value of attempt



18
19
20
# File 'lib/rspec/rewind/retry_decision.rb', line 18

def attempt
  @attempt
end

#budget_remainingObject

Returns the value of attribute budget_remaining

Returns:

  • (Object)

    the current value of budget_remaining



18
19
20
# File 'lib/rspec/rewind/retry_decision.rb', line 18

def budget_remaining
  @budget_remaining
end

#elapsed_timeObject

Returns the value of attribute elapsed_time

Returns:

  • (Object)

    the current value of elapsed_time



18
19
20
# File 'lib/rspec/rewind/retry_decision.rb', line 18

def elapsed_time
  @elapsed_time
end

#failure_fingerprintObject

Returns the value of attribute failure_fingerprint

Returns:

  • (Object)

    the current value of failure_fingerprint



18
19
20
# File 'lib/rspec/rewind/retry_decision.rb', line 18

def failure_fingerprint
  @failure_fingerprint
end

#metadataObject

Returns the value of attribute metadata

Returns:

  • (Object)

    the current value of metadata



18
19
20
# File 'lib/rspec/rewind/retry_decision.rb', line 18

def 
  @metadata
end

#retriesObject

Returns the value of attribute retries

Returns:

  • (Object)

    the current value of retries



18
19
20
# File 'lib/rspec/rewind/retry_decision.rb', line 18

def retries
  @retries
end

#sleep_totalObject

Returns the value of attribute sleep_total

Returns:

  • (Object)

    the current value of sleep_total



18
19
20
# File 'lib/rspec/rewind/retry_decision.rb', line 18

def sleep_total
  @sleep_total
end