tasty-lua-1.0.2: Write tests in Lua, integrate into tasty.
Copyright© 2019–2022 Albert Krewinkel
LicenseMIT
MaintainerAlbert Krewinkel <albert+hslua@zeitkraut.de>
Safe HaskellNone
LanguageHaskell2010

Test.Tasty.Lua.Translate

Description

Translate test results from Lua into a Tasty TestTree.

Synopsis

Documentation

translateResultsFromFile :: LuaError e => FilePath -> LuaE e TestTree Source #

Run tasty.lua tests from the given file and translate the result into a mock Tasty TestTree.

pathFailure :: FilePath -> String -> TestTree Source #

Report failure of testing a path.