Spectator::Config
Inherits Reference / Object
Provides customization and describes specifics for how Spectator will run and report tests.
Constructors
Creates a new configuration.
Properties are pulled from source.
Typically, source is a Config::Builder.
Instance methods
Creates an iterator configured to select the filtered examples.
Retrieves the configured random number generator. This will produce the same generator with the same seed every time.
Shuffles the items in an array using the configured random settings.
If #randomize? is true, the items are shuffled and returned as a new array.
Otherwise, the items are left alone and returned as-is.
The array of items is never modified.
Shuffles the items in an array using the configured random settings.
If #randomize? is true, the items are shuffled and returned.
Otherwise, the items are left alone and returned as-is.
The array of items is modified, the items are shuffled in-place.