Portability | unix |
---|---|
Maintainer | romanandreg@gmail.com |
Safe Haskell | None |
- setupTestLoop :: IO ()
Main function
setupTestLoop :: IO ()Source
Parses your project's cabal file to find possible test-suites you may have on your project, then it will start a file modification tracking and once a file is changed it will run the testsuite automatically. in the test-suite's hs-source-dirs setting.
Use this function as the main of you testloop executable. e.g
module Main where import System.TestLoop main :: IO () main = setupTestLoop