Closed ktalebian closed 4 years ago
first guess would be the multiple require
statements. require is implemented as a C function and is a common culprit for these errors. This also depends on the version of the Lua engine you're using PuC Lua is different from LuaJIT, and again from OpenResty for example.
What happens if you replace require 'spec.setup'
with the actual contents of that file?
Just wondering whether there is a reason for your setup with version.lua
and then calling busted from code? Why not create a busted config file and just call the busted cli script busted
?
no response, closing
When running busted with option
{standalone = false}
I get:This is running on a blank test, i.e. my
version.lua
test file isand my
spec.setup
isWhat's the issue?