Changes between Version 18 and Version 19 of Development/Testing
- Timestamp:
- 02/24/10 03:03:14 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Development/Testing
v18 v19 3 3 == Regression Testing == 4 4 5 The {{{war 2}}} test driver automates regression testing.5 The {{{war}}} test driver automates regression testing. 6 6 {{{ 7 $ bin/war2 test 7 $ make war 8 }}} 9 10 or 11 12 {{{ 13 $ bin/war test 8 14 }}} 9 15 … … 16 22 * If a subdirectory contains a {{{Module.error.check}}} file, where {{{Module}}} is some arbitrary module name, then compilation is expected to fail with the error message given by that check file. 17 23 18 Regression tests require the base libraries to be built. So before running them you may need to do a:19 {{{20 $ bin/ddc -O -build library/Prelude.ds21 }}}22 24 [[br]] 23 25 24 == Quick Checking ==25 26 We've started to add Quick Check style properties to the DDC code. There are some examples in {{{src/Util/Data/List/Split.hs}}}. We're using {{{src/Util/Test/Check.hs}}} as a wrapper around the standard Quick Check library.27 28 You can run the tests with:29 {{{30 $ bin/ddc --test31 }}}32 33 [[br]]34 26 == Demos == 35 27 … … 37 29 38 30 {{{ 39 $ bin/war 2test/93-Graphics +compway opt -O31 $ bin/war test/93-Graphics +compway opt -O 40 32 $ test/93-Graphics/Styrene/Main.bin -x 41 33 }}}
