-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot be run in Resty CLI #11
Comments
hello, I also ran into this issue while writing unit test with resty cli and busted test framework,here is a minimial case:
spec/2_spec.lua
spec/busted_runner.lua
run the two test file with resty cli as follow:
the second file 2_spec.lua aborted with error:
envirment on centos7:
|
Use this patch lunarmodules/busted#631 resolves my problem. |
I use
resty
to run unit tests against an openresty project, but any files whichrequire
this shell module will fail with this message:The fact that this is a test doesn't matter, even a simple
require
will crash the script. The trace points to this line:The text was updated successfully, but these errors were encountered: