Provides customization and describes specifics for how Spectator will run and report tests.
Constructors
new(builder)
Creates a new configuration.
SourceInstance 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.
Sourceexample_filter
Filter that determines which examples to run.
Sourcefail_blank?
Indicates whether the test should fail if there are no examples.
Sourcefail_fast?
Indicates whether the test should abort on first failure.
Sourceprofile?
Indicates whether profiling information should be displayed.
Sourcerandom
Random number generator to use for everything.
Sourcerandom_seed
Random seed used for number generation.
Sourcerandom_seed?
Random seed used for number generation.
Sourcerandomize?
Indicates whether tests are run in a random order.
Source