úÎP.KzH      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFG None!evaluated before each test group (evaluated after each successful example $evaluated after each failed example %evaluated after each pending example evaluated after a test run evaluated after failuresFormatter HA lifted version of I KThis is meant for internal use only, and not part of the public API. This J is also the reason why we do not make FormatM an instance MonadIO, so we : have narrow control over the visibilty of this function. J-Increase the counter for successful examples K*Increase the counter for pending examples L)Increase the counter for failed examples :Get the number of successful examples encountered so far. 7Get the number of pending examples encountered so far. 6Get the number of failed examples encountered so far. 5Get the total number of examples encountered so far. M4Append to the list of accumulated failure messages. .Get the list of accumulated failure messages. "Append some output to the report.  The same as  , but adds a newline character. KSet output color to red, run given action, and finally restore the default  color. ESet output to color green, run given action, and finally restore the  default color. FSet output color to yellow, run given action, and finally restore the  default color. ;Get the used CPU time since the test run has been started. >Get the passed real time since the test run has been started.  HNJKL M HNJKL M HNJKL M Safe-InferedA pending example. +If you want to report on a behavior but don'!t have an example yet, use this.   describe "fancyFormatter" [ 7 it "can format text in a way that everyone likes" $  pending  ] *You can give an optional reason for why it' s pending.  describe "fancyFormatter" [ 7 it "can format text in a way that everyone likes" $ < pending "waiting for clarification from the designers"  ] OOO  Safe-InferedA type class for examples. To use an HUnit    or an    as an example  you need to import Test.Hspec.HUnit. To use a QuickCheck   as an example you need to  import Test.Hspec.QuickCheck. #Internal representation of a spec. LThis will be made abstract with the next release. If you still need access @ to any constructors, open an issue and describe your use case:   %https://github.com/hspec/hspec/issues "The result of running an example. $DCreate a set of specifications for a specific type being described. 2 Once you know what you want specs for, use this.  describe "abs" [ : it "returns a positive number given a negative number"  (abs (-1) == 1)  ] %;Create a more readable display of a quantity of something. PQ !"#R$%STUVPQ !"#R$% PQ"! #R$%STUV Safe-Infered*(DEPRECATED: This is no longer needed (it's just an alias for W now). &'()*+,-./ !"#$%&'()*+,-./"! *#$()'%&/+,-. &'()*+,-./ Safe-Infered0123 01230123 0123 Safe-Infered4Use in place of 6" to also exit the program with an ExitCode 5%Use in place of hspec to also give a Bool success indication 6=Create a document of the given specs and write it to stdout. 7GCreate a document of the given specs and write it to the given handle. Q writeReport filename specs = withFile filename WriteMode (\h -> hHspec h specs) 8GCreate a document of the given specs and write it to the given handle.  THIS IS LIKELY TO CHANGE 456789 #$(456789 (64578#$9456789None :DEPRECATED: Use ; instead <=Create a document of the given specs and write it to stdout. =Use in place of <" to also exit the program with an ExitCode >%Use in place of hspec to also give a Bool success indication ?GCreate a document of the given specs and write it to the given handle. Q writeReport filename specs = withFile filename WriteMode (\h -> hHspec h specs) @0Convert a monadic spec into a non-monadic spec. A0Convert a non-monadic spec into a monadic spec. EA pending example. +If you want to report on a behavior but don'!t have an example yet, use this.   describe "fancyFormatter" $ do 7 it "can format text in a way that everyone likes" $  pending *You can give an optional reason for why it' s pending.  describe "fancyFormatter" $ do 7 it "can format text in a way that everyone likes" $ < pending "waiting for clarification from the designers" FDEPRECATED: Use X instead. :;<=>?@ABCDEF:;<=>?@ABCDEF;BCDE<>=?@AF: :;<=>?@ABCDEF Safe-InferedYZYZ Safe-InferedG*Monadic DSL shortcut, use this instead of D. G[GGG[ Safe-Infered #$(*4567 (#$6547*\ !"#$%&'() * + , - . / 0 1 ( 2 3 4 56789:;<=>?@ABCDEFGHI8/FDEGJK3L4):MNOPNQRSTU( / V ? W X Y Z[\][^_`abc hspec-1.1.2Test.Hspec.QuickCheckTest.Hspec.FormattersTest.Hspec.Monadic Test.HspecTest.Hspec.CoreTest.Hspec.RunnerTest.Hspec.Formatters.InternalTest.Hspec.PendingTest.Hspec.Internal Test.HUnitTest AssertionTest.QuickCheckPropertyTest.Hspec.HUnitQuickCheck-2.4.2Test.QuickCheck.Propertyproperty Formatter formatterNameexampleGroupStartedexampleSucceeded exampleFailedexamplePendingfailedFormatterfooterFormatterFormatMgetSuccessCountgetPendingCount getFailCount getTotalCountgetFailMessageswrite writeLine withFailColorwithSuccessColorwithPendingColor getCPUTime getRealTimePendingpendingExampleevaluateExampleSpecTree SpecExample SpecGroupSpecResultFailSuccessdescribeitquantify AnyExample EvaluatedSpecSpecsUnevaluatedSpec descriptionssuccessfailure isFailure failedCountsafeEvaluateExamplesilentspecdocprogressfailed_exampleshspecXhspecBhspechHspechHspecWithFormat toExitCoderunSpecM fromSpecListcontextpropliftIOtransformers-0.3.0.0Control.Monad.IO.ClassincreaseSuccessCountincreasePendingCountincreaseFailCountaddFailMessage runFormatMunSpec $fExample(->)$fExamplePending$fExampleResult $fExampleBoolbaseGHC.Baseid Control.Monad sequence_ $fExampleTest $fExampleIO $fExampleGen