All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy