úÎXnR D      !"#$%&'()*+,-./0123456789:;<=>?@ABC 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 DA lifted version of E FA lifted version of G 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. J1The total number of examples encountered so far. K-Increase the counter for successful examples L*Increase the counter for pending examples M)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. N4Append 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. O6Set a color, run an action, and finally reset colors. ;Get the used CPU time since the test run has been started. >Get the passed real time since the test run has been started. + PQRSTUVWXYZDFHJ[KLM NO H[KLM N PQ RSTUVWXYZDFHJ[KLM NO Safe-InferredA type class for examples. #Internal representation of a spec. "The result of running an example. A list of specs. The describe7 function combines a list of specs into a larger spec. 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.  Examples: quantify 0 "example" "0 examples"quantify 1 "example" "1 example"quantify 2 "example" "2 examples"\]^ !_`\]^ ! ]\^ !_` Safe-Inferred"A pending example. #A 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"  ] "a#bc"a#"a#bcNone$%&'de $%&'$%&' $%&'deNone(Summary of a test run. f=Evaluate and print the result of checking the spec examples. ,=Create a document of the given specs and write it to stdout. Exit the program with g if all examples passed, with  h otherwise. .=Create a document of the given specs and write it to stdout. Return i if all examples passed, j otherwise. /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) 0GCreate a document of the given specs and write it to the given handle.  THIS IS LIKELY TO CHANGE ()*+fk,-./01l ()*+,-./01 ,./01()*+- ()*+fk,-./01lNone2345 !"#()*+,-./2345" #,./()*+!4-2532345 NonemnmnNone 8<Create a document of the given spec and write it to stdout. Exit the program with  exitSuccess if all examples passed, with   exitFailure otherwise. 9<Create a document of the given spec and write it to stdout. Return i if all examples passed, j otherwise. :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. <0Convert a non-monadic spec into a monadic spec. =The describe7 function combines a list of specs into a larger spec. > An alias for =. ?JCreate a set of specifications for a specific type being described. Once - you know what you want specs for, use this.  describe "abs" $ do < it "returns a positive number given a negative number" $  abs (-1) == 1 @A 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" 6op789:;<=>?@AB"()*+6789:;<=>?@AB7"=>?@89:()*+;<6AB6op789:;<=>?@ABNoneC*Monadic DSL shortcut, use this instead of ?. CqCCCq Nonerstuvwxyz{|"78=>?@7"=>?@8}  !"#$%&'()*+,-(./01233456789:;<=>?*%689@A+B,.>7CDEFDGEFGHEIHJKLMNOPPQRSTUVWXYZ[?\](^_`abcdecdfghighjkl m noopqrsqrtqruqrvqrwqrxqryqrzqr{qr|qr}~ hspec-1.3.0.1Test.Hspec.QuickCheckTest.Hspec.FormattersTest.Hspec.CoreTest.Hspec.RunnerTest.Hspec.MonadicTest.Hspec.Formatters.InternalTest.Hspec.InternalTest.Hspec.PendingTest.Hspec.HUnit Test.HspecQuickCheck-2.5.1.1Test.QuickCheck.Propertyproperty Formatter formatterNameexampleGroupStartedexampleSucceeded exampleFailedexamplePendingfailedFormatterfooterFormatterFormatMgetSuccessCountgetPendingCount getFailCount getTotalCountgetFailMessageswrite writeLine withFailColorwithSuccessColorwithPendingColor getCPUTime getRealTimeExampleevaluateExampleSpecResultFailPendingSuccessSpecsdescribeitquantifypendingsilentspecdocprogressfailed_examplesSummarysummaryExamplessummaryFailureshspechspecXhspecBhHspechHspecWithFormat toExitCode AnyExampleUnevaluatedSpec descriptionssafeEvaluateExamplerunSpecM fromSpecListcontextpropgetstransformers-0.3.0.0Control.Monad.Trans.State.LazymodifyliftIOControl.Monad.IO.Class totalCountincreaseSuccessCountincreasePendingCountincreaseFailCountaddFailMessage withColorFormatterState stateHandle stateUseColor successCount pendingCount failCount failMessages cpuStartTime startTime runFormatM SpecExample SpecGroup$fExampleResult $fExampleBool $fExample(->)$fExamplePendingdefaultFailedFormatter defaultFooter runFormatterbase System.Exit exitSuccess exitFailureghc-prim GHC.TypesTrueFalsefailureDetails$fMonoidSummary $fExampleTest $fExampleIOSpecM $fExampleGenhspec-expectations-0.3.0.2Test.Hspec.ExpectationsanyArithExceptionanyIOException errorCall anyErrorCall anyException shouldThrow shouldReturn shouldSatisfyshouldBe ExpectationSelector