You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use busted in ios lua project. Now I can run busted like this
--unitTest.lua
require 'busted.runner'()
describe("Busted unit testing framework", function()
-- body
describe("should be awesome", function()
it("should be easy to use", function()
print(package.path)
assert.truthy("Yup.")
end)
end)
end)
--main.lua
require("unitTest")
but it seem like the unit test code must be write in the one lua file. is it any way to write unit test code in multiple lua file and run them?
The text was updated successfully, but these errors were encountered:
I want to use busted in ios lua project. Now I can run busted like this
but it seem like the unit test code must be write in the one lua file. is it any way to write unit test code in multiple lua file and run them?
The text was updated successfully, but these errors were encountered: