Copyright | © 2019 Albert Krewinkel |
---|---|
License | MIT |
Maintainer | Albert Krewinkel <albert+hslua@zeitkraut.de> |
Stability | alpha |
Portability | Requires TemplateHaskell |
Safe Haskell | None |
Language | Haskell2010 |
Convert Lua test results into a tasty test trees.
Synopsis
- pushModule :: Lua NumResults
- testFileWith :: FilePath -> (forall a. Lua a -> IO a) -> TestTree
- testsFromFile :: FilePath -> Lua TestTree
- pathFailure :: FilePath -> String -> TestTree
Lua module
pushModule :: Lua NumResults Source #
Push the Aeson module on the Lua stack.
Running tests
testFileWith :: FilePath -> (forall a. Lua a -> IO a) -> TestTree Source #
Run the given file as a single test. It is possible to use `tasty.lua` in the script. This test collects and summarizes all errors, but shows generally no information on the successful tests.