【发布时间】:2016-12-13 02:37:58
【问题描述】:
文件“hhh.lua”的内容与文件“btest_spec.lua”相同(见我的目录)
当我运行 'busted' (just use commond 'busted') 时,它返回一个错误:
0 successes / 0 failures / 1 error / 0 pending : 0.00003 seconds
Error → No test files found matching Lua pattern: _spec
当我运行 'busted btest_spec.lua' 时,它成功并返回:
●●
2 successes / 0 failures / 0 errors / 0 pending : 0.003049 seconds
当我运行“busted *”时,它成功并返回:
●●●●
4 successes / 0 failures / 0 errors / 0 pending : 0.006815 seconds
那么,为什么 busted 在我运行 'busted' 时找不到文件 'btest_spec.lua'?
【问题讨论】:
标签: lua luarocks lua-busted