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

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 #