lua.model_test.mustache Maven / Gradle / Ivy
{{> partial_header}}
{{#models}}
{{#model}}
--[[
Unit tests for {{{packageName}}}.model.{{{classname}}}
Automatically generated by openapi-generator (https://openapi-generator.tech)
Please update as you see appropriate
]]
describe("{{classname}}", function()
local {{{packageName}}}_{{{classname}}} = require "{{{packageName}}}.model.{{{classname}}}"
{{#vars}}
-- unit tests for the property '{{{name}}}'
describe("property {{{name}}} test", function()
it("should work", function()
-- TODO assertion here: http://olivinelabs.com/busted/#asserts
end)
end)
{{/vars}}
end)
{{/model}}
{{/models}}