Modulehspec-api-2.11.14Haskell2010
Test.Hspec.Api.Format.V1
- 12 types
- 5 values
- Packagehspec-api-2.11.14
- Exports17
- LanguageHaskell2010
- LicenceMIT
- SourceExample.hs
Constructors
FormatConfigformatConfigUseColor :: BoolformatConfigReportProgress :: BoolformatConfigOutputUnicode :: BoolformatConfigUseDiff :: BoolformatConfigDiffContext :: Maybe IntformatConfigExternalDiff :: Maybe (String -> String -> IO ())formatConfigPrettyPrint :: BoolDeprecated: use formatConfigPrettyPrintFunction instead
formatConfigPrettyPrintFunction :: Maybe (String -> String -> (String, String))formatConfigPrintTimes :: BoolformatConfigHtmlOutput :: BoolformatConfigPrintCpuTime :: BoolformatConfigUsedSeed :: IntegerformatConfigExpectedTotalCount :: Int
(CurrentItem, TotalItems) tuple.
A Path describes the location of a spec item within a spec tree.
It consists of a list of group descriptions and a requirement description.
Location is used to represent source locations.
Constructors
Instances6Eq, Fractional, Num, Ord, Show, PrintfArg
Eq SecondsDefined in hspec-core-2.11.14 · Test.Hspec.Core.ClockFractional SecondsDefined in hspec-core-2.11.14 · Test.Hspec.Core.ClockNum SecondsDefined in hspec-core-2.11.14 · Test.Hspec.Core.ClockOrd SecondsDefined in hspec-core-2.11.14 · Test.Hspec.Core.ClockShow SecondsDefined in hspec-core-2.11.14 · Test.Hspec.Core.ClockPrintfArg SecondsDefined in hspec-core-2.11.14 · Test.Hspec.Core.Clock
Constructors
Instances1Show
Show FailureReasonDefined in hspec-core-2.11.14 · Test.Hspec.Core.Formatters.V1.Monad
Register a formatter
3 declarationsMake a formatter available for use with --format.
Make a formatter available for use with --format and use it by default.
Make a formatter compatible with types from Test.Hspec.Core.Format.
Re-exports
3 declarationsA SpecWith a represents a test or group of tests that require an a
value to run.
In the common case, a Spec is a SpecWith () which requires () and
can thus be executed with hspec.
To supply an argument to SpecWith tests to turn them into Spec, use functions from Test.Hspec.Core.Hooks such as around, before, mapSubject and similar.
Values of this type are created by it, describe and similar.