I'm pleased to announce the release of version 0.3 of test-framework (http://hackage.haskell.org/package/test-framework-0.3.0). This package provides a nice test runner for HUnit, QuickCheck 1 and QuickCheck 2 tests. To see a detailed example of the runner in action, please check out our website at http://batterseapower.github.com/test-framework The highlights of this release are: * Thanks to the contributions of Rogan Creswick at Galois, you can now get JUnit XML output from the test runner using the --jxml=FILENAME option * There is a new command line option (--plain), which tells the test runner to avoid using any ANSI features - this can be handy if you are (for example) viewing test output in Emacs Cheers, Max
Max Bolingbroke <batterseapower@hotmail.com> writes:
I'm pleased to announce the release of version 0.3 of test-framework (http://hackage.haskell.org/package/test-framework-0.3.0). ... * There is a new command line option (--plain), which tells the test runner to avoid using any ANSI features - this can be handy if you are (for example) viewing test output in Emacs
I don't see this one, although the junit option is there: ./dist/build/testsuite/testsuite --plain unrecognized option `--plain' Usage: testsuite [OPTIONS] --help show this help message -j NUMBER --threads=NUMBER number of threads to use to run tests --test-seed=NUMBER|random default seed for test random number generator -a NUMBER --maximum-generated-tests=NUMBER how many automated tests something like QuickCheck should try, by default --maximum-unsuitable-generated-tests=NUMBER how many unsuitable candidate tests something like QuickCheck should endure before giving up, by default -o NUMBER --timeout=NUMBER how many seconds a test should be run for before giving up, by default --no-timeout specifies that tests should be run without a timeout, by default -t TEST-PATTERN --select-tests=TEST-PATTERN only tests that match at least one glob pattern given by an instance of this argument will be run --jxml[=FILE] Set the output format to junit-xml, and (optionally) writes to FILE instead of STDOUT G -- Gregory Collins <greg@gregorycollins.net>
participants (2)
-
Gregory Collins -
Max Bolingbroke