Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

Safe HaskellNone

Util.GenerateRunTests

Description

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

Documentation

main :: IO () Source #