testbox 0.1.3

A fast test runner that works out of the box with zero dependencies.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--[[ EXPECTED OUTPUT
📁 fail_fast_short.lua
❌ first test fails
Not equal!
Left:  1
Right: 2
END EXPECTED OUTPUT --]]

-- OPTIONS: -x
-- EXIT CODE: 1

test("first test fails", function()
    expect_equal(1, 2)
end)

test("second test does not run", function()
    expect_equal(1, 1)
end)