$ luarocks install tinyevaltinyeval tests the AI calls in your Lua app. Each test case sends your app an input, and lines like contains,
matches and judge grade the reply. Run lua_modules/bin/tinyeval locally and in CI.
The rock adds the tinyeval command and a worker helper that starts your app once and answers every test case:
local tinyeval = require("tinyeval")
tinyeval.worker(function(input) return support:answer(input) end)
It needs bash 3.2 or later, and Lua 5.1 to 5.5 or LuaJIT. More at https://tinyeval.com.
Versions
Dependencies
lua >= 5.1