Class: RSpec::Configuration

Inherits:
Object
  • Object
show all
Defined in:
sig/rspec/rewind.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



76
# File 'sig/rspec/rewind.rbs', line 76

def initialize: () -> void

Instance Attribute Details

#after_retryObject? (readonly)

Returns the value of attribute after_retry.

Returns:

  • (Object, nil)


46
47
48
# File 'sig/rspec/rewind.rbs', line 46

def after_retry
  @after_retry
end

#backoffNumeric, untyped (readonly)

Returns the value of attribute backoff.

Returns:

  • (Numeric, untyped)


38
39
40
# File 'sig/rspec/rewind.rbs', line 38

def backoff
  @backoff
end

#before_retryObject? (readonly)

Returns the value of attribute before_retry.

Returns:

  • (Object, nil)


45
46
47
# File 'sig/rspec/rewind.rbs', line 45

def before_retry
  @before_retry
end

#clear_lets_on_failureBoolean (readonly)

Returns the value of attribute clear_lets_on_failure.

Returns:

  • (Boolean)


50
51
52
# File 'sig/rspec/rewind.rbs', line 50

def clear_lets_on_failure
  @clear_lets_on_failure
end

#clockObject (readonly)

Returns the value of attribute clock.

Returns:

  • (Object)


73
74
75
# File 'sig/rspec/rewind.rbs', line 73

def clock
  @clock
end

#default_retriesInteger (readonly)

Returns the value of attribute default_retries.

Returns:

  • (Integer)


37
38
39
# File 'sig/rspec/rewind.rbs', line 37

def default_retries
  @default_retries
end

#detect_retry_gem_conflictsBoolean (readonly)

Returns the value of attribute detect_retry_gem_conflicts.

Returns:

  • (Boolean)


67
68
69
# File 'sig/rspec/rewind.rbs', line 67

def detect_retry_gem_conflicts
  @detect_retry_gem_conflicts
end

#display_retry_backtrace_topBoolean (readonly)

Returns the value of attribute display_retry_backtrace_top.

Returns:

  • (Boolean)


49
50
51
# File 'sig/rspec/rewind.rbs', line 49

def display_retry_backtrace_top
  @display_retry_backtrace_top
end

#display_retry_failure_messagesBoolean (readonly)

Returns the value of attribute display_retry_failure_messages.

Returns:

  • (Boolean)


48
49
50
# File 'sig/rspec/rewind.rbs', line 48

def display_retry_failure_messages
  @display_retry_failure_messages
end

#display_retry_summaryBoolean (readonly)

Returns the value of attribute display_retry_summary.

Returns:

  • (Boolean)


62
63
64
# File 'sig/rspec/rewind.rbs', line 62

def display_retry_summary
  @display_retry_summary
end

#dry_runBoolean (readonly)

Returns the value of attribute dry_run.

Returns:

  • (Boolean)


74
75
76
# File 'sig/rspec/rewind.rbs', line 74

def dry_run
  @dry_run
end

#fail_on_flakyBoolean (readonly)

Returns the value of attribute fail_on_flaky.

Returns:

  • (Boolean)


63
64
65
# File 'sig/rspec/rewind.rbs', line 63

def fail_on_flaky
  @fail_on_flaky
end

#flaky_callbackObject? (readonly)

Returns the value of attribute flaky_callback.

Returns:

  • (Object, nil)


43
44
45
# File 'sig/rspec/rewind.rbs', line 43

def flaky_callback
  @flaky_callback
end

#flaky_report_pathString? (readonly)

Returns the value of attribute flaky_report_path.

Returns:

  • (String, nil)


54
55
56
# File 'sig/rspec/rewind.rbs', line 54

def flaky_report_path
  @flaky_report_path
end

#flaky_reporterFlakyReporter::NullReporter, ... (readonly)

Returns the value of attribute flaky_reporter.



53
54
55
# File 'sig/rspec/rewind.rbs', line 53

def flaky_reporter
  @flaky_reporter
end

#freeze_configuration_at_suite_startBoolean (readonly)

Returns the value of attribute freeze_configuration_at_suite_start.

Returns:

  • (Boolean)


65
66
67
# File 'sig/rspec/rewind.rbs', line 65

def freeze_configuration_at_suite_start
  @freeze_configuration_at_suite_start
end

#max_elapsed_timeFloat? (readonly)

Returns the value of attribute max_elapsed_time.

Returns:

  • (Float, nil)


70
71
72
# File 'sig/rspec/rewind.rbs', line 70

def max_elapsed_time
  @max_elapsed_time
end

#max_flaky_examplesInteger? (readonly)

Returns the value of attribute max_flaky_examples.

Returns:

  • (Integer, nil)


64
65
66
# File 'sig/rspec/rewind.rbs', line 64

def max_flaky_examples
  @max_flaky_examples
end

#max_retriesInteger? (readonly)

Returns the value of attribute max_retries.

Returns:

  • (Integer, nil)


69
70
71
# File 'sig/rspec/rewind.rbs', line 69

def max_retries
  @max_retries
end

#max_total_sleepFloat? (readonly)

Returns the value of attribute max_total_sleep.

Returns:

  • (Float, nil)


71
72
73
# File 'sig/rspec/rewind.rbs', line 71

def max_total_sleep
  @max_total_sleep
end

#metadata_report_keysArray[Symbol] (readonly)

Returns the value of attribute metadata_report_keys.

Returns:

  • (Array[Symbol])


68
69
70
# File 'sig/rspec/rewind.rbs', line 68

def 
  @metadata_report_keys
end

#not_retried_callbackObject? (readonly)

Returns the value of attribute not_retried_callback.

Returns:

  • (Object, nil)


44
45
46
# File 'sig/rspec/rewind.rbs', line 44

def not_retried_callback
  @not_retried_callback
end

#report_retry_eventsBoolean (readonly)

Returns the value of attribute report_retry_events.

Returns:

  • (Boolean)


57
58
59
# File 'sig/rspec/rewind.rbs', line 57

def report_retry_events
  @report_retry_events
end

#reset_failure_policySymbol (readonly)

Returns the value of attribute reset_failure_policy.

Returns:

  • (Symbol)


51
52
53
# File 'sig/rspec/rewind.rbs', line 51

def reset_failure_policy
  @reset_failure_policy
end

#retry_budgetRetryBudget (readonly)

Returns the value of attribute retry_budget.

Returns:



52
53
54
# File 'sig/rspec/rewind.rbs', line 52

def retry_budget
  @retry_budget
end

#retry_callbackObject? (readonly)

Returns the value of attribute retry_callback.

Returns:

  • (Object, nil)


42
43
44
# File 'sig/rspec/rewind.rbs', line 42

def retry_callback
  @retry_callback
end

#retry_ifObject? (readonly)

Returns the value of attribute retry_if.

Returns:

  • (Object, nil)


41
42
43
# File 'sig/rspec/rewind.rbs', line 41

def retry_if
  @retry_if
end

#retry_if_modeSymbol (readonly)

Returns the value of attribute retry_if_mode.

Returns:

  • (Symbol)


55
56
57
# File 'sig/rspec/rewind.rbs', line 55

def retry_if_mode
  @retry_if_mode
end

#retry_onArray[untyped] (readonly)

Returns the value of attribute retry_on.

Returns:

  • (Array[untyped])


39
40
41
# File 'sig/rspec/rewind.rbs', line 39

def retry_on
  @retry_on
end

#retry_on_defaultSymbol (readonly)

Returns the value of attribute retry_on_default.

Returns:

  • (Symbol)


56
57
58
# File 'sig/rspec/rewind.rbs', line 56

def retry_on_default
  @retry_on_default
end

#retry_summaryRetrySummary (readonly)

Returns the value of attribute retry_summary.

Returns:



61
62
63
# File 'sig/rspec/rewind.rbs', line 61

def retry_summary
  @retry_summary
end

#skip_retry_onArray[untyped] (readonly)

Returns the value of attribute skip_retry_on.

Returns:

  • (Array[untyped])


40
41
42
# File 'sig/rspec/rewind.rbs', line 40

def skip_retry_on
  @skip_retry_on
end

#sleeperObject (readonly)

Returns the value of attribute sleeper.

Returns:

  • (Object)


72
73
74
# File 'sig/rspec/rewind.rbs', line 72

def sleeper
  @sleeper
end

#strict_callable_arityBoolean (readonly)

Returns the value of attribute strict_callable_arity.

Returns:

  • (Boolean)


59
60
61
# File 'sig/rspec/rewind.rbs', line 59

def strict_callable_arity
  @strict_callable_arity
end

#strict_callbacksBoolean (readonly)

Returns the value of attribute strict_callbacks.

Returns:

  • (Boolean)


58
59
60
# File 'sig/rspec/rewind.rbs', line 58

def strict_callbacks
  @strict_callbacks
end

#strict_matcher_validationBoolean (readonly)

Returns the value of attribute strict_matcher_validation.

Returns:

  • (Boolean)


60
61
62
# File 'sig/rspec/rewind.rbs', line 60

def strict_matcher_validation
  @strict_matcher_validation
end

#verboseBoolean (readonly)

Returns the value of attribute verbose.

Returns:

  • (Boolean)


47
48
49
# File 'sig/rspec/rewind.rbs', line 47

def verbose
  @verbose
end

#warn_on_delay_conflictBoolean (readonly)

Returns the value of attribute warn_on_delay_conflict.

Returns:

  • (Boolean)


66
67
68
# File 'sig/rspec/rewind.rbs', line 66

def warn_on_delay_conflict
  @warn_on_delay_conflict
end

Instance Method Details

#after_retry=Object? (readonly)

Parameters:

  • (Object, nil)

Returns:

  • (Object, nil)


86
# File 'sig/rspec/rewind.rbs', line 86

def after_retry=: (untyped?) -> untyped?

#backoff=Numeric, untyped (readonly)

Parameters:

  • (Object)

Returns:

  • (Numeric, untyped)


78
# File 'sig/rspec/rewind.rbs', line 78

def backoff=: (untyped) -> Numeric | untyped

#before_retry=Object? (readonly)

Parameters:

  • (Object, nil)

Returns:

  • (Object, nil)


85
# File 'sig/rspec/rewind.rbs', line 85

def before_retry=: (untyped?) -> untyped?

#clear_lets_on_failure=Boolean (readonly)

Parameters:

  • (Boolean)

Returns:

  • (Boolean)


97
# File 'sig/rspec/rewind.rbs', line 97

def clear_lets_on_failure=: (bool) -> bool

#clock=Object? (readonly)

Parameters:

  • (Object, nil)

Returns:

  • (Object, nil)


113
# File 'sig/rspec/rewind.rbs', line 113

def clock=: (untyped?) -> untyped?

#default_retries=Integer (readonly)

Parameters:

  • (Object)

Returns:

  • (Integer)


77
# File 'sig/rspec/rewind.rbs', line 77

def default_retries=: (untyped) -> Integer

#detect_retry_gem_conflicts=Boolean (readonly)

Parameters:

  • (Boolean)

Returns:

  • (Boolean)


96
# File 'sig/rspec/rewind.rbs', line 96

def detect_retry_gem_conflicts=: (bool) -> bool

#display_retry_backtrace_top=Boolean (readonly)

Parameters:

  • (Boolean)

Returns:

  • (Boolean)


90
# File 'sig/rspec/rewind.rbs', line 90

def display_retry_backtrace_top=: (bool) -> bool

#display_retry_failure_messages=Boolean (readonly)

Parameters:

  • (Boolean)

Returns:

  • (Boolean)


89
# File 'sig/rspec/rewind.rbs', line 89

def display_retry_failure_messages=: (bool) -> bool

#display_retry_summary=Boolean (readonly)

Parameters:

  • (Boolean)

Returns:

  • (Boolean)


91
# File 'sig/rspec/rewind.rbs', line 91

def display_retry_summary=: (bool) -> bool

#dry_run=Boolean (readonly)

Parameters:

  • (Boolean)

Returns:

  • (Boolean)


114
# File 'sig/rspec/rewind.rbs', line 114

def dry_run=: (bool) -> bool

#fail_on_flaky=Boolean (readonly)

Parameters:

  • (Boolean)

Returns:

  • (Boolean)


92
# File 'sig/rspec/rewind.rbs', line 92

def fail_on_flaky=: (bool) -> bool

#flaky_callback=Object? (readonly)

Parameters:

  • (Object, nil)

Returns:

  • (Object, nil)


83
# File 'sig/rspec/rewind.rbs', line 83

def flaky_callback=: (untyped?) -> untyped?

#flaky_report_path=FlakyReporter::NullReporter, FlakyReporter::JsonlReporter (readonly)

Parameters:

  • (String, nil)

Returns:



101
# File 'sig/rspec/rewind.rbs', line 101

def flaky_report_path=: (String?) -> FlakyReporter::NullReporter | FlakyReporter::JsonlReporter

#flaky_reporter=FlakyReporter::NullReporter, ... (readonly)



100
# File 'sig/rspec/rewind.rbs', line 100

def flaky_reporter=: (FlakyReporter::NullReporter | FlakyReporter::JsonlReporter | untyped?) -> FlakyReporter::NullReporter | FlakyReporter::JsonlReporter | untyped

#freeze_configuration_at_suite_start=Boolean (readonly)

Parameters:

  • (Boolean)

Returns:

  • (Boolean)


94
# File 'sig/rspec/rewind.rbs', line 94

def freeze_configuration_at_suite_start=: (bool) -> bool

#max_elapsed_time=Float? (readonly)

Parameters:

  • (Object, nil)

Returns:

  • (Float, nil)


110
# File 'sig/rspec/rewind.rbs', line 110

def max_elapsed_time=: (untyped?) -> Float?

#max_flaky_examples=Integer? (readonly)

Parameters:

  • (Object, nil)

Returns:

  • (Integer, nil)


93
# File 'sig/rspec/rewind.rbs', line 93

def max_flaky_examples=: (untyped?) -> Integer?

#max_retries=Integer? (readonly)

Parameters:

  • (Object, nil)

Returns:

  • (Integer, nil)


109
# File 'sig/rspec/rewind.rbs', line 109

def max_retries=: (untyped?) -> Integer?

#max_total_sleep=Float? (readonly)

Parameters:

  • (Object, nil)

Returns:

  • (Float, nil)


111
# File 'sig/rspec/rewind.rbs', line 111

def max_total_sleep=: (untyped?) -> Float?

#metadata_report_keys=Array[Symbol] (readonly)

Parameters:

  • (Object)

Returns:

  • (Array[Symbol])


108
# File 'sig/rspec/rewind.rbs', line 108

def metadata_report_keys=: (untyped) -> Array[Symbol]

#not_retried_callback=Object? (readonly)

Parameters:

  • (Object, nil)

Returns:

  • (Object, nil)


84
# File 'sig/rspec/rewind.rbs', line 84

def not_retried_callback=: (untyped?) -> untyped?

#report_retry_events=Boolean (readonly)

Parameters:

  • (Boolean)

Returns:

  • (Boolean)


104
# File 'sig/rspec/rewind.rbs', line 104

def report_retry_events=: (bool) -> bool

#reset_failure_policy=Symbol (readonly)

Parameters:

  • (Symbol, String)

Returns:

  • (Symbol)


98
# File 'sig/rspec/rewind.rbs', line 98

def reset_failure_policy=: (Symbol | String) -> Symbol

#retry_budget=RetryBudget (readonly)

Parameters:

Returns:



99
# File 'sig/rspec/rewind.rbs', line 99

def retry_budget=: (RetryBudget | untyped) -> RetryBudget

#retry_callback=Object? (readonly)

Parameters:

  • (Object, nil)

Returns:

  • (Object, nil)


82
# File 'sig/rspec/rewind.rbs', line 82

def retry_callback=: (untyped?) -> untyped?

#retry_if=Object? (readonly)

Parameters:

  • (Object, nil)

Returns:

  • (Object, nil)


81
# File 'sig/rspec/rewind.rbs', line 81

def retry_if=: (untyped?) -> untyped?

#retry_if_mode=Symbol (readonly)

Parameters:

  • (Symbol, String)

Returns:

  • (Symbol)


102
# File 'sig/rspec/rewind.rbs', line 102

def retry_if_mode=: (Symbol | String) -> Symbol

#retry_on=Array[untyped] (readonly)

Parameters:

  • (Object)

Returns:

  • (Array[untyped])


79
# File 'sig/rspec/rewind.rbs', line 79

def retry_on=: (untyped) -> Array[untyped]

#retry_on_default=Symbol (readonly)

Parameters:

  • (Symbol, String)

Returns:

  • (Symbol)


103
# File 'sig/rspec/rewind.rbs', line 103

def retry_on_default=: (Symbol | String) -> Symbol

#retry_summary=Object (readonly)

Parameters:

  • (Object)

Returns:

  • (Object)


87
# File 'sig/rspec/rewind.rbs', line 87

def retry_summary=: (untyped) -> untyped

#skip_retry_on=Array[untyped] (readonly)

Parameters:

  • (Object)

Returns:

  • (Array[untyped])


80
# File 'sig/rspec/rewind.rbs', line 80

def skip_retry_on=: (untyped) -> Array[untyped]

#sleeper=Object? (readonly)

Parameters:

  • (Object, nil)

Returns:

  • (Object, nil)


112
# File 'sig/rspec/rewind.rbs', line 112

def sleeper=: (untyped?) -> untyped?

#snapshotConfiguration

Returns:



115
# File 'sig/rspec/rewind.rbs', line 115

def snapshot: () -> Configuration

#strict_callable_arity=Boolean (readonly)

Parameters:

  • (Boolean)

Returns:

  • (Boolean)


106
# File 'sig/rspec/rewind.rbs', line 106

def strict_callable_arity=: (bool) -> bool

#strict_callbacks=Boolean (readonly)

Parameters:

  • (Boolean)

Returns:

  • (Boolean)


105
# File 'sig/rspec/rewind.rbs', line 105

def strict_callbacks=: (bool) -> bool

#strict_matcher_validation=Boolean (readonly)

Parameters:

  • (Boolean)

Returns:

  • (Boolean)


107
# File 'sig/rspec/rewind.rbs', line 107

def strict_matcher_validation=: (bool) -> bool

#verbose=Boolean (readonly)

Parameters:

  • (Boolean)

Returns:

  • (Boolean)


88
# File 'sig/rspec/rewind.rbs', line 88

def verbose=: (bool) -> bool

#warn_on_delay_conflict=Boolean (readonly)

Parameters:

  • (Boolean)

Returns:

  • (Boolean)


95
# File 'sig/rspec/rewind.rbs', line 95

def warn_on_delay_conflict=: (bool) -> bool