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

Safe HaskellNone

Util.RunTests

Description

Run tests. This is meant to be invoked via a main module generated by test/generate_run_tests.py.

Synopsis

Documentation

data Test Source #

Constructors

Test 

Fields

data Flag Source #

Constructors

List 
NonInteractive 

Instances

Eq Flag # 

Methods

(==) :: Flag -> Flag -> Bool #

(/=) :: Flag -> Flag -> Bool #

Show Flag # 

Methods

showsPrec :: Int -> Flag -> ShowS #

show :: Flag -> String #

showList :: [Flag] -> ShowS #

run :: String -> [Test] -> IO () Source #

runTests :: String -> [Test] -> [Flag] -> [String] -> IO () Source #

matchingTests :: [String] -> [Test] -> [Test] Source #

Match all tests whose names match any regex, or if a test is an exact match, just that test.

catch :: String -> IO a -> IO () Source #