unit-testing - Lua API 单元测试

标签 unit-testing lua

lua Api 是否有任何现有的单元测试?我已经搜索了大约一个小时,我找到的只是这个链接 - http://www.inf.puc-rio.br/~roberto/lua/lua5.1-tests.tar.gz
除了这个,有人知道一些测试吗?

最佳答案

Unit testing is about testing your code during development, not in production. Typically you start by preparing the testing environment, writing some code that calls production code and check expected results with actual results.



http://lua-users.org/wiki/UnitTesting

希望这可以帮助 :)

关于unit-testing - Lua API 单元测试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7752375/

相关文章:

angular - 在Angular 2+单元测试中导入 stub 文件

ruby-on-rails - 如何断言 Rails 方法不会抛出 NoMethodError

c - 如何在 lua 中创建接受多个参数的 C 函数?

string - 为什么 lua string.find 对于这个测试用例返回 true?

Lua 脚本尝试访问集群节点中的非本地 key

c# - 单元测试失败说找不到 'Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight' 程序集

c# - NUnit值得学习吗?

python - 如何测试是否在 Python 中导入了模块以用于游戏的测试驱动开发?

Lua string.gsub() 由 '%s' 或 '\n' 模式

lua - torch 调整张量大小