summaryrefslogtreecommitdiffstats
path: root/conf.d
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/project/lua.d/aft.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/conf.d/project/lua.d/aft.lua b/conf.d/project/lua.d/aft.lua
index dfaa80d..c0f047a 100644
--- a/conf.d/project/lua.d/aft.lua
+++ b/conf.d/project/lua.d/aft.lua
@@ -161,6 +161,12 @@ function _AFT.testVerbError(testName, api, verb, args, cb)
end})
end
+function _AFT.testCustom(testName, testFunction)
+ table.insert(_AFT.tests_list, {testName, function()
+ testFunction()
+ end})
+end
+
--[[
Make all assertions accessible using _AFT and declare some convenients
aliases.