h&G      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJK Safe-Inferredchell'A suite is a named collection of tests.Note: earlier versions of Chell permitted arbitrary nesting of test suites. This feature proved too unwieldy, and was removed. A similar result can be achieved with ; see the documentation for .chell:Contains details about a location in the test source file.chell2A path to a source file, or empty if not provided.3 is a field accessor, and can be used to update a  value.chell0A Haskell module name, or empty if not provided.3 is a field accessor, and can be used to update a  value.chell*A line number, or Nothing if not provided.3 is a field accessor, and can be used to update a  value.chell&Contains details about a test failure.chellIf given, the location of the failing assertion, expectation, etc.3 is a field accessor, and can be used to update a  value.chell7If given, a message which explains why the test failed.3 is a field accessor, and can be used to update a  value. chellThe result of running a test.To support future extensions to the testing API, any users of this module who pattern-match against the   constructors should include a default case. If no default case is provided, a warning will be issued. chell/The test passed, and generated the given notes. chell2The test did not run, because it was skipped with  or . chell9The test failed, generating the given notes and failures. chellThe test aborted with an error message, and generated the given notes.chellTest options are passed to each test, and control details about how the test should be run.chellGet the RNG seed for this test run. The seed is generated once, in  defaultMain, and used for all tests. It is also logged to reports using a note. When using  defaultMain&, users may specify a seed using the --seed command-line option.3 is a field accessor, and can be used to update a  value.chellAn optional timeout, in milliseconds. Tests which run longer than this timeout will be aborted. When using  defaultMain), users may specify a timeout using the  --timeout command-line option.3 is a field accessor, and can be used to update a  value.chellA . is, essentially, an IO action that returns a  ). Tests are aggregated into suites (see ).chell6Define a test, with the given name and implementation.chell7Get the name a test was given when it was defined; see .chellDefault test options. $ ghci Prelude> import Test.Chell Test.Chell> testOptionSeed defaultTestOptions 0 Test.Chell> testOptionTimeout defaultTestOptions Nothingchell An empty 1; use the field accessors to populate this value.chell An empty 1; use the field accessors to populate this value.chellConditionally skip tests. Use this to avoid commenting out tests which are currently broken, or do not work on the current platform. tests :: Suite tests =  "tests" [ test_Foo , 5 builtOnUnix test_WindowsSpecific , test_Bar ] chellConditionally skip tests, depending on the result of a runtime check. The predicate is checked before each test is started. tests :: Suite tests =  "tests" [ test_Foo , . noNetwork test_PingGoogle , test_Bar ] chell Define a new #, with the given name and children.Note: earlier versions of Chell permitted arbitrary nesting of test suites. This feature proved too unwieldy, and was removed. A similar result can be achieved with : test_Addition :: Test test_Subtraction :: Test test_Show :: Test suite_Math :: Suite suite_Math =  "math" [ test_Addition , test_Subtraction ] suite_Prelude :: Suite suite_Prelude =  "prelude" ( [ test_Show ] ++ suiteTests suite_Math ) chellGet a suite's name. Suite names may be any string, but are typically plain ASCII so users can easily type them on the command line. $ ghci chell-example.hs Ok, modules loaded: Main. *Main> suiteName tests_Math "math"chell1Get the full list of tests contained within this . Each test is given its full name within the test hierarchy, where names are separated by periods. $ ghci chell-example.hs Ok, modules loaded: Main. *Main> suiteTests tests_Math [Test "math.addition",Test "math.subtraction"]chell8Run a test, wrapped in error handlers. This will return  / if the test throws an exception or times out. L Safe-Inferred MNOPQRSTU Safe-InferredchellA simple default main function, which runs a list of tests and logs statistics to stdout. Safe-Inferredchell2Class for types which can be treated as text; see <.chellSee $. chellSee + and ,.!chellA single pass/fail assertion. Failed assertions include an explanatory message."chellSee !.#chellSee !.$chellConvert a sequence of pass/fail assertions into a runnable test. test_Equality :: Test test_Equality = assertions "equality" $ do $assert (1 == 1) $assert (equal 1 1) 'chellAttach a note to a test run. Notes will be printed to stdout and included in reports, even if the test fails or aborts. Notes are useful for debugging failing tests.(chellRegister an IO action to be run after the test completes. This action will run even if the test failed or aborted.-chell!Assert that two values are equal..chell%Assert that two values are not equal./chell;Assert that two values are within some delta of each other.0chellAssert that some value is Just.1chellAssert that some value is Nothing.2chellAssert that some value is Left.3chellAssert that some value is Right.4chellAssert that some computation throws an exception matching the provided predicate. This is mostly useful for exception types which do not have an instance for Eq , such as V.5chellAssert that some computation throws an exception equal to the given exception. This is better than just checking that the correct type was thrown, because the test can also verify the exception contains the correct information.6chell'Assert a value is greater than another.7chell3Assert a value is greater than or equal to another.8chell$Assert a value is less than another.9chell0Assert a value is less than or equal to another.:chell=Assert that two containers have the same items, in any order.;chellAssert that two containers have the same items, in the same order.<chellAssert that two pieces of text are equal. This uses a diff algorithm to check line-by-line, so the error message will be easier to read on large inputs.=chell Variant of <9 which allows a user-specified line-splitting predicate.EchellUses Data.ByteString.Lazy.Char8FchellUses Data.ByteString.Char8/chelldelta>  !"#$%&'()*+,-./0123456789:;<=>$ !"#+,%&'()*-./0123456789:;<=       !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]$chell-0.5.0.2-DxhyTP4bkR8BWUNxVuDoi4 Test.ChellTest.Chell.TypesTest.Chell.OutputTest.Chell.Main SuiteOrTestSuiteLocation locationFilelocationModule locationLineFailurefailureLocationfailureMessage TestResult TestPassed TestSkipped TestFailed TestAborted TestOptionstestOptionSeedtestOptionTimeoutTesttesttestNamedefaultTestOptionsfailurelocationskipIfskipWhensuite suiteName suiteTestsrunTest defaultMainIsText Assertions IsAssertion AssertionassertionPassedassertionFailed assertionsdietracenote afterTest requireLeft requireRightassertexpectequalnotEqual equalWithinjustnothingleftrightthrowsthrowsEqgreater greaterEquallesser lesserEqual sameItems equalItems equalLinesequalLinesWith$fIsAssertionIO$fIsAssertionBool$fIsAssertionAssertion$fMonadIOAssertions$fMonadAssertions$fApplicativeAssertions$fFunctorAssertions$fIsTextByteString$fIsTextByteString0 $fIsTextText $fIsTextText0 $fIsText[] $fEqAssertion$fShowAssertion handleJankyIO ColorMode ColorModeAutoColorModeAlwaysColorModeNeverOutput outputStart outputResult plainOutput colorOutputbase GHC.Exception ErrorCall