Class: RSpec::Configuration
- Inherits:
-
Object
- Object
- RSpec::Configuration
- Defined in:
- sig/rspec/rewind.rbs
Instance Attribute Summary collapse
-
#after_retry ⇒ Object?
readonly
Returns the value of attribute after_retry.
-
#backoff ⇒ Numeric, untyped
readonly
Returns the value of attribute backoff.
-
#before_retry ⇒ Object?
readonly
Returns the value of attribute before_retry.
-
#clear_lets_on_failure ⇒ Boolean
readonly
Returns the value of attribute clear_lets_on_failure.
-
#clock ⇒ Object
readonly
Returns the value of attribute clock.
-
#default_retries ⇒ Integer
readonly
Returns the value of attribute default_retries.
-
#detect_retry_gem_conflicts ⇒ Boolean
readonly
Returns the value of attribute detect_retry_gem_conflicts.
-
#display_retry_backtrace_top ⇒ Boolean
readonly
Returns the value of attribute display_retry_backtrace_top.
-
#display_retry_failure_messages ⇒ Boolean
readonly
Returns the value of attribute display_retry_failure_messages.
-
#display_retry_summary ⇒ Boolean
readonly
Returns the value of attribute display_retry_summary.
-
#dry_run ⇒ Boolean
readonly
Returns the value of attribute dry_run.
-
#fail_on_flaky ⇒ Boolean
readonly
Returns the value of attribute fail_on_flaky.
-
#flaky_callback ⇒ Object?
readonly
Returns the value of attribute flaky_callback.
-
#flaky_report_path ⇒ String?
readonly
Returns the value of attribute flaky_report_path.
-
#flaky_reporter ⇒ FlakyReporter::NullReporter, ...
readonly
Returns the value of attribute flaky_reporter.
-
#freeze_configuration_at_suite_start ⇒ Boolean
readonly
Returns the value of attribute freeze_configuration_at_suite_start.
-
#max_elapsed_time ⇒ Float?
readonly
Returns the value of attribute max_elapsed_time.
-
#max_flaky_examples ⇒ Integer?
readonly
Returns the value of attribute max_flaky_examples.
-
#max_retries ⇒ Integer?
readonly
Returns the value of attribute max_retries.
-
#max_total_sleep ⇒ Float?
readonly
Returns the value of attribute max_total_sleep.
-
#metadata_report_keys ⇒ Array[Symbol]
readonly
Returns the value of attribute metadata_report_keys.
-
#not_retried_callback ⇒ Object?
readonly
Returns the value of attribute not_retried_callback.
-
#report_retry_events ⇒ Boolean
readonly
Returns the value of attribute report_retry_events.
-
#reset_failure_policy ⇒ Symbol
readonly
Returns the value of attribute reset_failure_policy.
-
#retry_budget ⇒ RetryBudget
readonly
Returns the value of attribute retry_budget.
-
#retry_callback ⇒ Object?
readonly
Returns the value of attribute retry_callback.
-
#retry_if ⇒ Object?
readonly
Returns the value of attribute retry_if.
-
#retry_if_mode ⇒ Symbol
readonly
Returns the value of attribute retry_if_mode.
-
#retry_on ⇒ Array[untyped]
readonly
Returns the value of attribute retry_on.
-
#retry_on_default ⇒ Symbol
readonly
Returns the value of attribute retry_on_default.
-
#retry_summary ⇒ RetrySummary
readonly
Returns the value of attribute retry_summary.
-
#skip_retry_on ⇒ Array[untyped]
readonly
Returns the value of attribute skip_retry_on.
-
#sleeper ⇒ Object
readonly
Returns the value of attribute sleeper.
-
#strict_callable_arity ⇒ Boolean
readonly
Returns the value of attribute strict_callable_arity.
-
#strict_callbacks ⇒ Boolean
readonly
Returns the value of attribute strict_callbacks.
-
#strict_matcher_validation ⇒ Boolean
readonly
Returns the value of attribute strict_matcher_validation.
-
#verbose ⇒ Boolean
readonly
Returns the value of attribute verbose.
-
#warn_on_delay_conflict ⇒ Boolean
readonly
Returns the value of attribute warn_on_delay_conflict.
Instance Method Summary collapse
- #after_retry ⇒ Object? readonly
- #backoff ⇒ Numeric, untyped readonly
- #before_retry ⇒ Object? readonly
- #clear_lets_on_failure ⇒ Boolean readonly
- #clock ⇒ Object? readonly
- #default_retries ⇒ Integer readonly
- #detect_retry_gem_conflicts ⇒ Boolean readonly
- #display_retry_backtrace_top ⇒ Boolean readonly
- #display_retry_failure_messages ⇒ Boolean readonly
- #display_retry_summary ⇒ Boolean readonly
- #dry_run ⇒ Boolean readonly
- #fail_on_flaky ⇒ Boolean readonly
- #flaky_callback ⇒ Object? readonly
- #flaky_report_path ⇒ FlakyReporter::NullReporter, FlakyReporter::JsonlReporter readonly
- #flaky_reporter ⇒ FlakyReporter::NullReporter, ... readonly
- #freeze_configuration_at_suite_start ⇒ Boolean readonly
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
- #max_elapsed_time ⇒ Float? readonly
- #max_flaky_examples ⇒ Integer? readonly
- #max_retries ⇒ Integer? readonly
- #max_total_sleep ⇒ Float? readonly
- #metadata_report_keys ⇒ Array[Symbol] readonly
- #not_retried_callback ⇒ Object? readonly
- #report_retry_events ⇒ Boolean readonly
- #reset_failure_policy ⇒ Symbol readonly
- #retry_budget ⇒ RetryBudget readonly
- #retry_callback ⇒ Object? readonly
- #retry_if ⇒ Object? readonly
- #retry_if_mode ⇒ Symbol readonly
- #retry_on ⇒ Array[untyped] readonly
- #retry_on_default ⇒ Symbol readonly
- #retry_summary ⇒ Object readonly
- #skip_retry_on ⇒ Array[untyped] readonly
- #sleeper ⇒ Object? readonly
- #snapshot ⇒ Configuration
- #strict_callable_arity ⇒ Boolean readonly
- #strict_callbacks ⇒ Boolean readonly
- #strict_matcher_validation ⇒ Boolean readonly
- #verbose ⇒ Boolean readonly
- #warn_on_delay_conflict ⇒ Boolean readonly
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
76 |
# File 'sig/rspec/rewind.rbs', line 76
def initialize: () -> void
|
Instance Attribute Details
#after_retry ⇒ Object? (readonly)
Returns the value of attribute after_retry.
46 47 48 |
# File 'sig/rspec/rewind.rbs', line 46 def after_retry @after_retry end |
#backoff ⇒ Numeric, untyped (readonly)
Returns the value of attribute backoff.
38 39 40 |
# File 'sig/rspec/rewind.rbs', line 38 def backoff @backoff end |
#before_retry ⇒ Object? (readonly)
Returns the value of attribute before_retry.
45 46 47 |
# File 'sig/rspec/rewind.rbs', line 45 def before_retry @before_retry end |
#clear_lets_on_failure ⇒ Boolean (readonly)
Returns the value of attribute clear_lets_on_failure.
50 51 52 |
# File 'sig/rspec/rewind.rbs', line 50 def clear_lets_on_failure @clear_lets_on_failure end |
#clock ⇒ Object (readonly)
Returns the value of attribute clock.
73 74 75 |
# File 'sig/rspec/rewind.rbs', line 73 def clock @clock end |
#default_retries ⇒ Integer (readonly)
Returns the value of attribute default_retries.
37 38 39 |
# File 'sig/rspec/rewind.rbs', line 37 def default_retries @default_retries end |
#detect_retry_gem_conflicts ⇒ Boolean (readonly)
Returns the value of attribute detect_retry_gem_conflicts.
67 68 69 |
# File 'sig/rspec/rewind.rbs', line 67 def detect_retry_gem_conflicts @detect_retry_gem_conflicts end |
#display_retry_backtrace_top ⇒ Boolean (readonly)
Returns the value of attribute display_retry_backtrace_top.
49 50 51 |
# File 'sig/rspec/rewind.rbs', line 49 def display_retry_backtrace_top @display_retry_backtrace_top end |
#display_retry_failure_messages ⇒ Boolean (readonly)
Returns the value of attribute display_retry_failure_messages.
48 49 50 |
# File 'sig/rspec/rewind.rbs', line 48 def @display_retry_failure_messages end |
#display_retry_summary ⇒ Boolean (readonly)
Returns the value of attribute display_retry_summary.
62 63 64 |
# File 'sig/rspec/rewind.rbs', line 62 def display_retry_summary @display_retry_summary end |
#dry_run ⇒ Boolean (readonly)
Returns the value of attribute dry_run.
74 75 76 |
# File 'sig/rspec/rewind.rbs', line 74 def dry_run @dry_run end |
#fail_on_flaky ⇒ Boolean (readonly)
Returns the value of attribute fail_on_flaky.
63 64 65 |
# File 'sig/rspec/rewind.rbs', line 63 def fail_on_flaky @fail_on_flaky end |
#flaky_callback ⇒ Object? (readonly)
Returns the value of attribute flaky_callback.
43 44 45 |
# File 'sig/rspec/rewind.rbs', line 43 def flaky_callback @flaky_callback end |
#flaky_report_path ⇒ String? (readonly)
Returns the value of attribute flaky_report_path.
54 55 56 |
# File 'sig/rspec/rewind.rbs', line 54 def flaky_report_path @flaky_report_path end |
#flaky_reporter ⇒ FlakyReporter::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_start ⇒ Boolean (readonly)
Returns the value of attribute freeze_configuration_at_suite_start.
65 66 67 |
# File 'sig/rspec/rewind.rbs', line 65 def freeze_configuration_at_suite_start @freeze_configuration_at_suite_start end |
#max_elapsed_time ⇒ Float? (readonly)
Returns the value of attribute max_elapsed_time.
70 71 72 |
# File 'sig/rspec/rewind.rbs', line 70 def max_elapsed_time @max_elapsed_time end |
#max_flaky_examples ⇒ Integer? (readonly)
Returns the value of attribute max_flaky_examples.
64 65 66 |
# File 'sig/rspec/rewind.rbs', line 64 def max_flaky_examples @max_flaky_examples end |
#max_retries ⇒ Integer? (readonly)
Returns the value of attribute max_retries.
69 70 71 |
# File 'sig/rspec/rewind.rbs', line 69 def max_retries @max_retries end |
#max_total_sleep ⇒ Float? (readonly)
Returns the value of attribute max_total_sleep.
71 72 73 |
# File 'sig/rspec/rewind.rbs', line 71 def max_total_sleep @max_total_sleep end |
#metadata_report_keys ⇒ Array[Symbol] (readonly)
Returns the value of attribute metadata_report_keys.
68 69 70 |
# File 'sig/rspec/rewind.rbs', line 68 def @metadata_report_keys end |
#not_retried_callback ⇒ Object? (readonly)
Returns the value of attribute not_retried_callback.
44 45 46 |
# File 'sig/rspec/rewind.rbs', line 44 def not_retried_callback @not_retried_callback end |
#report_retry_events ⇒ Boolean (readonly)
Returns the value of attribute report_retry_events.
57 58 59 |
# File 'sig/rspec/rewind.rbs', line 57 def report_retry_events @report_retry_events end |
#reset_failure_policy ⇒ Symbol (readonly)
Returns the value of attribute reset_failure_policy.
51 52 53 |
# File 'sig/rspec/rewind.rbs', line 51 def reset_failure_policy @reset_failure_policy end |
#retry_budget ⇒ RetryBudget (readonly)
Returns the value of attribute retry_budget.
52 53 54 |
# File 'sig/rspec/rewind.rbs', line 52 def retry_budget @retry_budget end |
#retry_callback ⇒ Object? (readonly)
Returns the value of attribute retry_callback.
42 43 44 |
# File 'sig/rspec/rewind.rbs', line 42 def retry_callback @retry_callback end |
#retry_if ⇒ Object? (readonly)
Returns the value of attribute retry_if.
41 42 43 |
# File 'sig/rspec/rewind.rbs', line 41 def retry_if @retry_if end |
#retry_if_mode ⇒ Symbol (readonly)
Returns the value of attribute retry_if_mode.
55 56 57 |
# File 'sig/rspec/rewind.rbs', line 55 def retry_if_mode @retry_if_mode end |
#retry_on ⇒ Array[untyped] (readonly)
Returns the value of attribute retry_on.
39 40 41 |
# File 'sig/rspec/rewind.rbs', line 39 def retry_on @retry_on end |
#retry_on_default ⇒ Symbol (readonly)
Returns the value of attribute retry_on_default.
56 57 58 |
# File 'sig/rspec/rewind.rbs', line 56 def retry_on_default @retry_on_default end |
#retry_summary ⇒ RetrySummary (readonly)
Returns the value of attribute retry_summary.
61 62 63 |
# File 'sig/rspec/rewind.rbs', line 61 def retry_summary @retry_summary end |
#skip_retry_on ⇒ Array[untyped] (readonly)
Returns the value of attribute skip_retry_on.
40 41 42 |
# File 'sig/rspec/rewind.rbs', line 40 def skip_retry_on @skip_retry_on end |
#sleeper ⇒ Object (readonly)
Returns the value of attribute sleeper.
72 73 74 |
# File 'sig/rspec/rewind.rbs', line 72 def sleeper @sleeper end |
#strict_callable_arity ⇒ Boolean (readonly)
Returns the value of attribute strict_callable_arity.
59 60 61 |
# File 'sig/rspec/rewind.rbs', line 59 def strict_callable_arity @strict_callable_arity end |
#strict_callbacks ⇒ Boolean (readonly)
Returns the value of attribute strict_callbacks.
58 59 60 |
# File 'sig/rspec/rewind.rbs', line 58 def strict_callbacks @strict_callbacks end |
#strict_matcher_validation ⇒ Boolean (readonly)
Returns the value of attribute strict_matcher_validation.
60 61 62 |
# File 'sig/rspec/rewind.rbs', line 60 def strict_matcher_validation @strict_matcher_validation end |
#verbose ⇒ Boolean (readonly)
Returns the value of attribute verbose.
47 48 49 |
# File 'sig/rspec/rewind.rbs', line 47 def verbose @verbose end |
#warn_on_delay_conflict ⇒ Boolean (readonly)
Returns the value of attribute warn_on_delay_conflict.
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)
86 |
# File 'sig/rspec/rewind.rbs', line 86
def after_retry=: (untyped?) -> untyped?
|
#backoff= ⇒ Numeric, untyped (readonly)
78 |
# File 'sig/rspec/rewind.rbs', line 78
def backoff=: (untyped) -> Numeric | untyped
|
#before_retry= ⇒ Object? (readonly)
85 |
# File 'sig/rspec/rewind.rbs', line 85
def before_retry=: (untyped?) -> untyped?
|
#clear_lets_on_failure= ⇒ Boolean (readonly)
97 |
# File 'sig/rspec/rewind.rbs', line 97
def clear_lets_on_failure=: (bool) -> bool
|
#clock= ⇒ Object? (readonly)
113 |
# File 'sig/rspec/rewind.rbs', line 113
def clock=: (untyped?) -> untyped?
|
#default_retries= ⇒ Integer (readonly)
77 |
# File 'sig/rspec/rewind.rbs', line 77
def default_retries=: (untyped) -> Integer
|
#detect_retry_gem_conflicts= ⇒ Boolean (readonly)
96 |
# File 'sig/rspec/rewind.rbs', line 96
def detect_retry_gem_conflicts=: (bool) -> bool
|
#display_retry_backtrace_top= ⇒ Boolean (readonly)
90 |
# File 'sig/rspec/rewind.rbs', line 90
def display_retry_backtrace_top=: (bool) -> bool
|
#display_retry_failure_messages= ⇒ Boolean (readonly)
89 |
# File 'sig/rspec/rewind.rbs', line 89
def display_retry_failure_messages=: (bool) -> bool
|
#display_retry_summary= ⇒ Boolean (readonly)
91 |
# File 'sig/rspec/rewind.rbs', line 91
def display_retry_summary=: (bool) -> bool
|
#dry_run= ⇒ Boolean (readonly)
114 |
# File 'sig/rspec/rewind.rbs', line 114
def dry_run=: (bool) -> bool
|
#fail_on_flaky= ⇒ Boolean (readonly)
92 |
# File 'sig/rspec/rewind.rbs', line 92
def fail_on_flaky=: (bool) -> bool
|
#flaky_callback= ⇒ Object? (readonly)
83 |
# File 'sig/rspec/rewind.rbs', line 83
def flaky_callback=: (untyped?) -> untyped?
|
#flaky_report_path= ⇒ FlakyReporter::NullReporter, FlakyReporter::JsonlReporter (readonly)
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)
94 |
# File 'sig/rspec/rewind.rbs', line 94
def freeze_configuration_at_suite_start=: (bool) -> bool
|
#max_elapsed_time= ⇒ Float? (readonly)
110 |
# File 'sig/rspec/rewind.rbs', line 110
def max_elapsed_time=: (untyped?) -> Float?
|
#max_flaky_examples= ⇒ Integer? (readonly)
93 |
# File 'sig/rspec/rewind.rbs', line 93
def max_flaky_examples=: (untyped?) -> Integer?
|
#max_retries= ⇒ Integer? (readonly)
109 |
# File 'sig/rspec/rewind.rbs', line 109
def max_retries=: (untyped?) -> Integer?
|
#max_total_sleep= ⇒ Float? (readonly)
111 |
# File 'sig/rspec/rewind.rbs', line 111
def max_total_sleep=: (untyped?) -> Float?
|
#metadata_report_keys= ⇒ Array[Symbol] (readonly)
108 |
# File 'sig/rspec/rewind.rbs', line 108
def metadata_report_keys=: (untyped) -> Array[Symbol]
|
#not_retried_callback= ⇒ Object? (readonly)
84 |
# File 'sig/rspec/rewind.rbs', line 84
def not_retried_callback=: (untyped?) -> untyped?
|
#report_retry_events= ⇒ Boolean (readonly)
104 |
# File 'sig/rspec/rewind.rbs', line 104
def report_retry_events=: (bool) -> bool
|
#reset_failure_policy= ⇒ Symbol (readonly)
98 |
# File 'sig/rspec/rewind.rbs', line 98
def reset_failure_policy=: (Symbol | String) -> Symbol
|
#retry_budget= ⇒ RetryBudget (readonly)
99 |
# File 'sig/rspec/rewind.rbs', line 99
def retry_budget=: (RetryBudget | untyped) -> RetryBudget
|
#retry_callback= ⇒ Object? (readonly)
82 |
# File 'sig/rspec/rewind.rbs', line 82
def retry_callback=: (untyped?) -> untyped?
|
#retry_if= ⇒ Object? (readonly)
81 |
# File 'sig/rspec/rewind.rbs', line 81
def retry_if=: (untyped?) -> untyped?
|
#retry_if_mode= ⇒ Symbol (readonly)
102 |
# File 'sig/rspec/rewind.rbs', line 102
def retry_if_mode=: (Symbol | String) -> Symbol
|
#retry_on= ⇒ Array[untyped] (readonly)
79 |
# File 'sig/rspec/rewind.rbs', line 79
def retry_on=: (untyped) -> Array[untyped]
|
#retry_on_default= ⇒ Symbol (readonly)
103 |
# File 'sig/rspec/rewind.rbs', line 103
def retry_on_default=: (Symbol | String) -> Symbol
|
#retry_summary= ⇒ Object (readonly)
87 |
# File 'sig/rspec/rewind.rbs', line 87
def retry_summary=: (untyped) -> untyped
|
#skip_retry_on= ⇒ Array[untyped] (readonly)
80 |
# File 'sig/rspec/rewind.rbs', line 80
def skip_retry_on=: (untyped) -> Array[untyped]
|
#sleeper= ⇒ Object? (readonly)
112 |
# File 'sig/rspec/rewind.rbs', line 112
def sleeper=: (untyped?) -> untyped?
|
#snapshot ⇒ Configuration
115 |
# File 'sig/rspec/rewind.rbs', line 115
def snapshot: () -> Configuration
|
#strict_callable_arity= ⇒ Boolean (readonly)
106 |
# File 'sig/rspec/rewind.rbs', line 106
def strict_callable_arity=: (bool) -> bool
|
#strict_callbacks= ⇒ Boolean (readonly)
105 |
# File 'sig/rspec/rewind.rbs', line 105
def strict_callbacks=: (bool) -> bool
|
#strict_matcher_validation= ⇒ Boolean (readonly)
107 |
# File 'sig/rspec/rewind.rbs', line 107
def strict_matcher_validation=: (bool) -> bool
|
#verbose= ⇒ Boolean (readonly)
88 |
# File 'sig/rspec/rewind.rbs', line 88
def verbose=: (bool) -> bool
|
#warn_on_delay_conflict= ⇒ Boolean (readonly)
95 |
# File 'sig/rspec/rewind.rbs', line 95
def warn_on_delay_conflict=: (bool) -> bool
|