class

Spectator::Config

Inherits Reference < Object

Provides customization and describes specifics for how Spectator will run and report tests.

Constructors

new(builder)

Creates a new configuration.

Source

Instance methods

dry_run?

Indicates whether the test should be done as a dry-run. Examples won't run, but the output will show that they did.

Source
each_formatter

Yields each formatter that should be reported to.

Source
example_filter

Filter that determines which examples to run.

Source
fail_blank?

Indicates whether the test should fail if there are no examples.

Source
fail_fast?

Indicates whether the test should abort on first failure.

Source
profile?

Indicates whether profiling information should be displayed.

Source
random

Random number generator to use for everything.

Source
random_seed

Random seed used for number generation.

Source
random_seed?

Random seed used for number generation.

Source
randomize?

Indicates whether tests are run in a random order.

Source