mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
16 lines
472 B
Crystal
16 lines
472 B
Crystal
module Spectator
|
|
# Provides customization and describes specifics for how Spectator will run and report tests.
|
|
class Config
|
|
# Used to report test progress and results.
|
|
getter formatter : Formatting::Formatter
|
|
|
|
# Indicates whether the test should abort on first failure.
|
|
getter? fail_fast : Bool
|
|
|
|
# Creates a new configuration.
|
|
def initialize(builder)
|
|
@formatter = builder.formatter
|
|
@fail_fast = builder.fail_fast?
|
|
end
|
|
end
|
|
end
|