logo
wow addon West

West

Game Version: 8.1.5
Total Downloads: 100
Updated: Apr 11, 2019
Created: Mar 26, 2019

Earlier Versions

Name Size Uploaded Game Version Downloads
1.07 release 60.47 KB Apr 11, 2019 8.1.5 38 download West 1.07 releaseDownload
1.06 release 59.90 KB Apr 9, 2019 8.1.5 11 download West 1.06 releaseDownload

Description

Share this:

West

West is a testing libary for World of Warcraft addons.

if not __WEST_LIB__ then return end
local West = __WEST_LIB__()

West.describe("math tests", function(it)
  it("adds numbers", function(expect)
    expect(add(1, 2)).toBe(3)
  end)

  -- more tests...
end)

West.it("returns a table", function(expect)
  local value = foo()
  expect(value).toBeDefined()
  expect(type(value)).toBe("table")
end)

-- ...

West.run()

Getting Started

View on GitHub.

Screenshots

Passing

Passed output

Failing

Failed output

Comments

Add a comment