{"modulePath":"github.com/lovercode/gopher-lua-libs","version":"v0.0.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package tests\n\n## Constants\n\n```go\nconst (\n\tTType = \"testing.T\"\n)\n```\n\n## Functions\n\n```go\nfunc LoadAssert(L *lua.LState) int\n```\n\n```go\nfunc LoadAssertions(L *lua.LState) int\n```\n\n```go\nfunc LoadRequre(L *lua.LState) int\n```\n\n```go\nfunc LoadSuite(L *lua.LState) int\n```\n\n```go\nfunc PreloadAssert(L *lua.LState)\n```\n\n```go\nfunc PreloadAssertions(L *lua.LState)\n```\n\n```go\nfunc PreloadRequire(L *lua.LState)\n```\n\n```go\nfunc PreloadSuite(L *lua.LState)\n```\n\n```go\nfunc RunLuaTestFile(t *testing.T, preload PreloadFunc, filename string) (numTests int)\n```\nRunLuaTestFile fires up a new state, registers the \\*testing.T and invokes all methods starting with Test. This allows the lua test files to operate similar to go tests - see shellescape/test/test\\_api.lua\n\n## Types\n\n```go\ntype PreloadFunc func(L *lua.LState)\n```\n\n```go\nfunc SeveralPreloadFuncs(preloadFuncs ...PreloadFunc) PreloadFunc\n```\nSeveralPreloadFuncs combines several PreloadFuncs to one such as when tests want to preload theirs + inspect\n\n","path":"github.com/lovercode/gopher-lua-libs/tests","name":"tests","synopsis":"","isRedistributable":true}
