work.martins.simon
This class holds all the settings that parameterize expect.
By default these settings are read from the Config obtained with ConfigFactory.load().
ConfigFactory.load()
You can change the settings in multiple ways:
new Settings(yourConfig)
However it will be more succinct to pass your config directly to expect:
new Expect(yourCommand, yourDefaultValue, yourConfig)
object YourSettings extends Settings() { override val timeout: FiniteDuration = 2.minutes override val bufferSize: Int = 4096 } new Expect(yourCommand, yourDefaultValue, YourSettings)
This class holds all the settings that parameterize expect.
By default these settings are read from the Config obtained with
ConfigFactory.load()
.You can change the settings in multiple ways:
new Settings(yourConfig)
However it will be more succinct to pass your config directly to expect:
new Expect(yourCommand, yourDefaultValue, yourConfig)