Module

Test.Unit.Main

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

#runTest Source

runTest :: TestSuite -> Effect Unit

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

#runTestWith Source

runTestWith :: (TestSuite -> Aff TestList) -> TestSuite -> Aff Unit

Run a test suite using the provided test runner.

#exit Source

exit :: Int -> Effect Unit

Exit the current process using the provided return code.

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