Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- runSingleTestWithFlakinessMode :: forall externalResources t. ProgressReporter -> HList externalResources -> TDef (ProgressReporter -> ((HList externalResources -> () -> t) -> t) -> IO TestRunResult) -> Timeout -> Word -> FlakinessMode -> ExpectationMode -> IO TestRunReport
Documentation
runSingleTestWithFlakinessMode Source #
:: 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.