问题标签 [lua-busted]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
lua - 使用 busted 测试 Lua 代码时出现零错误
我不熟悉为 Lua 使用破坏的测试框架,但我写了两个测试。每个人都独立工作,没有错误。但是当我同时运行它们时(例如,我不包括 --exclude-pattern=name_spec.lua),稍后启动的那个会失败并显示错误消息
错误 -> Nil 错误
套件规范/name_spec.lua
spec 文件夹是我的测试所在的位置。错误发生前最后一条被破坏的消息是●✱,但我不知道星号是什么意思。
lua - Symbol not found: OpenSSL_version_num
I am trying to create a kong plugin. It works great when running as part of kong server but when I am trying to write some unit tests with busted, resty.openssl.digest
func load fails. More specifically while loading the version.lua
I am not sure what exactly I am missing. Maybe some link which is supposed to link openSSL's C functions to lua.
Here is a minimal snippet to reproduce the problem.
Error: