úÎAÑ=’D      !"#$%&'()*+,-./0123456789:;<=>?@ABCNone!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 DA lifted version of E 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. F-Increase the counter for successful examples G*Increase the counter for pending examples H)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. I4Append 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.  DJFGH I DJFGH I DJFGH I Safe-InferedAn existentially quantified Example:. This way they can be mixed within the same set of Specs "The result of running an example. %(DEPRECATED: This is no longer needed (it's just an alias for K now). '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)  ] (MDeclare an example as not successful or failing but pending some other work. , If you want to report on a behavior but don'!t have an example yet, use this.  describe "fancyFormatter" [ 5 it "can format text in a way that everyone likes" > (pending "waiting for clarification from the designers")  ] -;Create a more readable display of a quantity of something.  !"#$%&'(1An explanation for why this behavior is pending. )*+,-LMN !"#$%&'()*+,- #"!$%&'()*+,- #"!$%&'()*+,-LMN Safe-Infered./01 ./01./01 ./01 Safe-Infered3Use in place of hspec" to also exit the program with an ExitCode 4%Use in place of hspec to also give a Bool success indication 5=Create a document of the given specs and write it to stdout. 6GCreate a document of the given specs and write it to the given handle. R writeReport filename specs = withFile filename WriteMode (\ h -> hHspec h specs) 7GCreate a document of the given specs and write it to the given handle.  THIS IS LIKELY TO CHANGE 2345678 $'2345678 253467$'82345678None:=Create a document of the given specs and write it to stdout. ;Use in place of hspec" 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. R writeReport filename specs = withFile filename WriteMode (\ h -> hHspec h specs) >0Convert a monadic spec into a non-monadic spec. ?0Convert a non-monadic spec into a monadic spec. BDEPRECATED: Use O instead. 9:;<=>?@AB  (9:;<=>?@AB  9@A(:<;=>?B 9:;<=>?@AB Safe-InferedPQPQ Safe-InferedC*Monadic DSL shortcut, use this instead of it CRCCCR Safe-Infered  $%'(23456  2$'(5436%S     !!"#$%&'()*+,-./0123456789:;<=>?@A;><=?BC-0.DEFGEHIJKLMNOPQRMSTUVWX hspec-1.0.0Test.Hspec.QuickCheckTest.Hspec.FormattersTest.Hspec.CoreTest.Hspec.RunnerTest.Hspec.MonadicTest.Hspec.Formatters.InternalTest.Hspec.HUnit Test.HspecQuickCheck-2.4.2Test.QuickCheck.Propertyproperty Formatter formatterNameexampleGroupStartedexampleSucceeded exampleFailedexamplePendingfailedFormatterfooterFormatterFormatMgetSuccessCountgetPendingCount getFailCount getTotalCountgetFailMessageswrite writeLine withFailColorwithSuccessColorwithPendingColor getCPUTime getRealTime AnyExampleExampleevaluateExampleSpec SpecExample SpecGroup EvaluatedSpecUnevaluatedSpecResultFailPendingSuccessdescribe descriptionssafeEvaluateExampleitpending failedCountfailuresuccess isFailurequantifysilentspecdocprogressfailed_examplesSpecshspecXhspecBhspechHspechHspecWithFormat toExitCoderunSpecM fromSpecListpropliftIOtransformers-0.3.0.0Control.Monad.IO.ClassincreaseSuccessCountincreasePendingCountincreaseFailCountaddFailMessage runFormatMbaseGHC.Baseid$fExampleAnyExample$fExampleResult $fExampleBool Control.Monad sequence_ $fExampleTest $fExampleIO $fExampleGen