úÎtúmĒL      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKSafe'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 .:Contains details about a location in the test source file.2A path to a source file, or empty if not provided.3 is a field accessor, and can be used to update a  value.0A Haskell module name, or empty if not provided.3 is a field accessor, and can be used to update a  value.*A line number, or Nothing if not provided.3 is a field accessor, and can be used to update a  value.&Contains details about a test failure.CIf given, the location of the failing assertion, expectation, etc.3 is a field accessor, and can be used to update a  value.7If given, a message which explains why the test failed.3 is a field accessor, and can be used to update a  value. The result of running a test.iTo support future extensions to the testing API, any users of this module who pattern-match against the  g constructors should include a default case. If no default case is provided, a warning will be issued. /The test passed, and generated the given notes. 2The test did not run, because it was skipped with  or . 9The test failed, generating the given notes and failures. GThe test aborted with an error message, and generated the given notes.\Test options are passed to each test, and control details about how the test should be run.DGet the RNG seed for this test run. The seed is generated once, in  defaultMainE, 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._An optional timeout, in millseconds. 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.A . is, essentially, an IO action that returns a  ). Tests are aggregated into suites (see ).6Define a test, with the given name and implementation.7Get the name a test was given when it was defined; see .Default test options. Œ$ ghci Prelude> import Test.Chell Test.Chell> testOptionSeed defaultTestOptions 0 Test.Chell> testOptionTimeout defaultTestOptions Nothing An empty 1; use the field accessors to populate this value. An empty 1; use the field accessors to populate this value.…Conditionally 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 , 8 builtOnUnix test_WindowsSpecific , test_Bar ] |Conditionally 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 , 1 noNetwork test_PingGoogle , test_Bar ]  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 : ctest_Addition :: Test test_Subtraction :: Test test_Show :: Test suite_Math :: Suite suite_Math = a "math" [ test_Addition , test_Subtraction ] suite_Prelude :: Suite suite_Prelude = Q "prelude" ( [ test_Show ] ++ suiteTests suite_Math ) „Get 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. U$ ghci chell-example.hs Ok, modules loaded: Main. *Main> suiteName tests_Math "math"1Get the full list of tests contained within this e. 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"]8Run a test, wrapped in error handlers. This will return  / if the test throws an exception or times out.*LMNOP QRSTUVWX TLMNOP  QRSTUVWXSafeYZ[\]^_`abcdefgh YZ[\]`_ad YZ[\]^_`abcdefghSafeZA simple default main function, which runs a list of tests and logs statistics to stdout.ijklmnopqrstuvwxyz{ ijklmnopqrstuvwxyz{None9;2Class for types which can be treated as text; see <.See $. See + and ,.!PA single pass/fail assertion. Failed assertions include an explanatory message."See !.#See !.$@Convert a sequence of pass/fail assertions into a runnable test. ntest_Equality :: Test test_Equality = assertions "equality" $ do $assert (1 == 1) $assert (equal 1 1) '§Attach 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.(sRegister an IO action to be run after the test completes. This action will run even if the test failed or aborted.-!Assert that two values are equal..%Assert that two values are not equal./;Assert that two values are within some delta of each other.0Assert that some value is Just.1Assert that some value is Nothing.2Assert that some value is Left.3Assert that some value is Right.4 Assert 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 |.5æAssert 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.6'Assert a value is greater than another.73Assert a value is greater than or equal to another.8$Assert a value is less than another.90Assert a value is less than or equal to another.:=Assert that two containers have the same items, in any order.;BAssert that two containers have the same items, in the same order.<šAssert 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.= Variant of <9 which allows a user-specified line-splitting predicate.>Uses Data.ByteString.Lazy.Char8?Uses Data.ByteString.Char8?}~€ ‚!ƒ„"#$…†%‡&ˆ'()‰*Š‹Œ+,-./delta0123456789:;Ž<=>?@ABCDEFGHI>  !"#$%&'()*+,-./0123456789:;<=E$ !"#+,%&'()*-./0123456789:;<= 8}~€ ‚!ƒ„"#$…†%‡&ˆ'()‰*Š‹Œ+,-./0123456789:;Ž<=>?@ABCDEFGHI      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQR STUVWXYZ[\]]^_`abcdefghiijklmnopqrstuvwxyz{|}~$€‚ƒ„…†‡ˆ‰Š‹ŒŽ$chell-0.4.0.2-2HMxQov20EB3PvRw9kNEG1 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$fIsTextByteString$fIsTextByteString0 $fIsTextText $fIsTextText0 $fIsText[]$fMonadIOAssertions$fMonadAssertions$fApplicativeAssertions$fFunctorAssertions$fIsAssertionIO$fIsAssertionBool$fIsAssertionAssertion $fEqAssertion$fShowAssertionskipIf_ skipWhen_TestResultCaseMustHaveDefault handleJankyIOtry$fSuiteOrTestTest$fSuiteOrTestSuite $fShowTest ColorMode ColorModeAutoColorModeAlwaysColorModeNeverOutput outputStart outputResult plainOutputplainOutputStartplainOutputResult colorOutputcolorOutputStartcolorOutputResult printNotes printFailuresReport MainOptions optVerbose optXmlReport optJsonReport optTextReportoptSeed optTimeoutoptColoroptionType_ColorMode matchesFilter getReports jsonReport xmlReport textReportformatResultStatisticsresultStatistics$fOptionsMainOptionsbase GHC.Exception ErrorCalltoLinesunpack unAssertions TestState runAssertionAssertionPassedAssertionFailed runAfterTest addFailuredieAttraceAt requireLeftAtrequireRightAtliftLocassertAt assertBool equalDiff'checkLinesDiff