Karya, built on 2022-03-21T01:30:44 (patch 89d1651424c35e564138d93424a157ff87457245)
Safe HaskellSafe-Inferred

Util.Test.GenerateRunTests

Description

Collect tests from the given modules and generate a haskell module that calls the tests. Test functions are any function starting with 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 require different flags.

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

Documentation

main :: IO () Source #