[paras. let's see if this works. Don Stewart **20080420230917] { hunk ./en/ch12-testing.xml 6 + hunk ./en/ch12-testing.xml 13 + hunk ./en/ch12-testing.xml 15 + hunk ./en/ch12-testing.xml 22 + hunk ./en/ch12-testing.xml 24 + hunk ./en/ch12-testing.xml 26 -The main testing mechanisms in Haskell are unit testing (via the HUnit -library), and type-based property testing, using -QuickCheck. QuickCheck, in particular, encourages a high level approach -to testing in the form of abstract invariants functions should satisfy. -QuickCheck, in effect, writes specific tests for you, using the type -system to guide the generation of test data. +The main testing mechanisms in Haskell are traditional unit testing (via the HUnit +library), and its more powerful sibling, type-based property +testing, using QuickCheck. QuickCheck, in particular, encourages a high level +approach to testing in the form of abstract invariants functions should +satisfy. QuickCheck, in effect, writes specific tests for you, using the +type system to guide the generation of test data. + hunk ./en/ch12-testing.xml 34 + hunk ./en/ch12-testing.xml 38 + + + }