tasty-lua-1.1.1: Write tests in Lua, integrate into tasty.
Copyright© 2019-2024 Albert Krewinkel
LicenseMIT
MaintainerAlbert Krewinkel <[email protected]>
Safe HaskellNone
LanguageHaskell2010

Test.Tasty.Lua.Arbitrary

Description

Generators for arbitrary Lua values.

Synopsis

Documentation

registerArbitrary :: (Arbitrary a, LuaError e) => Name -> Pusher e a -> Peeker e a -> LuaE e () Source #

Register a Lua value generator.

pushArbitraryTable :: LuaE e () Source #

Pushes the table holding all arbitrary generators to the stack.