function load_tests()(require("\046\047\115\117\105\116\101\115\095\099\097\115\101\115"))();(require("\046\047\098\097\115\105\099\095\097\115\115\101\114\116\105\111\110\115"))();(require("\046\047\109\101\115\115\097\103\101\115"))();(require("\046\047\101\114\114\111\114\115"))();(require("\046\047\112\097\114\097\109\101\116\114\105\122\101\100"))();(require("\046\047\097\114\114\097\121\115"))();(require("\046\047\116\097\098\108\101\115"))();(require("\046\047\115\107\105\112"))()end function run_tests()local e=require("\064\102\114\107\116\101\115\116\047\102\114\107\116\101\115\116")local W=require("\064\102\114\107\116\101\115\116\047\114\101\112\111\114\116\101\114\115\047\099\111\110\115\111\108\101\095\114\101\112\111\114\116\101\114")W.init()local w=e.run()return w end load_tests()local e=run_tests()if not e then end
function load_tests()
    -- tests execute in the order they are loaded
    require("./suites_cases")()
    require("./basic_assertions")()
    require("./messages")()
    require("./errors")()
    require("./parametrized")()
    require("./arrays")()
    require("./tables")()
    require("./skip")()
    -- require("./focus")() -- this file contains test.focus definitions, uncomment and only these definitions will run
end

function run_tests()
    local frktest = require("@frktest/frktest")
    local console_reporter = require("@frktest/reporters/console_reporter")

    console_reporter.init()
    local success = frktest.run()
    return success
end

load_tests()
local passed = run_tests()

-- return non-0 exit code on failure (runtime-dependent)
if not passed then
    -- use the version of your preferred runtime
    -- require("@lune/process").exit(1) -- lune
    -- zune.process.exit(1) -- zune

    -- this might do the trick in a version-agnostic way, but it's noisy
    -- error("tests failed")
end
