Module

Test.Unit.Main

Package
purescript-test-unit
Repository
bodil/purescript-test-unit

#exit Source

exit :: forall e. Int -> Eff (console :: CONSOLE | e) Unit

Exit the current process using the provided return code.

Works on Node and Phantom. Will have no effect on other platforms.

#run Source

run :: forall e. Aff (console :: CONSOLE | e) Unit -> Eff (console :: CONSOLE | e) Unit

#runTestWith Source

runTestWith :: forall e. (TestSuite (console :: CONSOLE | e) -> Aff (console :: CONSOLE | e) (TestList (console :: CONSOLE | e))) -> TestSuite (console :: CONSOLE | e) -> Aff (console :: CONSOLE | e) Unit

Run a test suite using the provided test runner.

#runTest Source

runTest :: forall e. TestSuite (avar :: AVAR, console :: CONSOLE, testOutput :: TESTOUTPUT | e) -> Eff (avar :: AVAR, console :: CONSOLE, testOutput :: TESTOUTPUT | e) Unit

Run a test suite, picking the most appropriate test runner.