Karya, built on Sun Nov 26 01:04:37 PST 2017 (patch 0a920b2bde70c0cbac8ee09d158064798b61bbe5)

Safe HaskellNone



Collect tests from the given modules and generate a haskell module that calls the tests. Test functions are any function starting with large_test_, test_ or profile_ and immediately followed by '=' (implying the function has no arguments). This module doesn't distinguish between tests and profiles, but they should presumably be compiled separately since they required different flags.

If a module has a function called initialize, it will be called as 'IO ()' prior to the tests.

Tests are divided into interactive and auto variants. Interactive tests want to have a conversation with the user, so they're not appropriate to run frequently. Auto tests get an auto- prefix so you can avoid the interactive ones. TODO interactive should be removed


main :: IO () Source #