class Spectator::Config
- Spectator::Config
- Reference
- Object
Overview
Provides customization and describes specifics for how Spectator will run and report tests.
Defined in:
spectator/config.crConstructors
-
.new(builder)
Creates a new configuration.
Instance Method Summary
-
#dry_run? : Bool
Indicates whether the test should be done as a dry-run.
-
#each_formatter(&)
Yields each formatter that should be reported to.
-
#example_filter : ExampleFilter
Filter that determines which examples to run.
-
#fail_blank? : Bool
Indicates whether the test should fail if there are no examples.
-
#fail_fast? : Bool
Indicates whether the test should abort on first failure.
-
#profile? : Bool
Indicates whether profiling information should be displayed.
-
#random : Random
Random number generator to use for everything.
-
#random_seed : UInt64 | Nil
Random seed used for number generation.
-
#random_seed? : UInt64 | Nil | Nil
Random seed used for number generation.
-
#randomize? : Bool
Indicates whether tests are run in a random order.
Instance methods inherited from class Object
should(matcher)
should,
should_eventually(matcher)
should_eventually,
should_never(matcher)
should_never,
should_not(matcher)
should_not
Constructor Detail
Instance Method Detail
def dry_run? : Bool
#
Indicates whether the test should be done as a dry-run. Examples won't run, but the output will show that they did.