summaryrefslogtreecommitdiffstats
path: root/tests/config/tapered/test/pass-fail-test.lua
blob: 0f2418a863e647dc2a21f0a30d582958d5d64fb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
package.path = '../src/?.lua;' .. package.path
local tap = require 'tapered'

--- pass and fail
-- pass([msg]) is not a test. It always passes.
-- fail([msg]) is not a test. It always fails.
-- These two methods are useful for checking the basic setup of a test suite.
-- Also, pass can be used as a quasi-skip and fail as a quasi-TODO.
tap.pass('ok - No test: just pass')
tap.fail('not ok - No test: just fail')
tap.done()