sydtest-0.19.0.0: A modern testing framework for Haskell with good defaults and advanced testing features.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Syd.Runner.Single

Synopsis

Documentation

runSingleTestWithFlakinessMode Source #

Arguments

:: forall externalResources t. ProgressReporter

How to report test progress

-> HList externalResources

External resources

-> TDef (ProgressReporter -> ((HList externalResources -> () -> t) -> t) -> IO TestRunResult)

Test definition

-> Timeout

Timeout

-> Word

Max retries

-> FlakinessMode

Flakiness mode

-> ExpectationMode

Expectation mode

-> IO TestRunReport

Test result

Run a single test.

Run the test up to maxRetries times. Finish as soon as the test passes once, or when we run out of retries.