landsandboat/scripts/tests/framework/failures/test_describe_failure.lua
sruon 6b4ef12dca xi_test: LSB test framework
Co-Authored-By: KnowOne134 <35616771+KnowOne134@users.noreply.github.com>
Co-Authored-By: InoUno <774909+InoUno@users.noreply.github.com>
Co-Authored-By: Corey <2593549+cocosolos@users.noreply.github.com>
2025-09-06 00:03:15 -06:00

18 lines
764 B
Lua

-- This file is used to test framework error handling behavior
-- It is commented out by default to avoid running during normal test execution
-- Uncomment to verify that the test framework properly handles describe block failures
-- describe('Test Describe Failure', function()
-- -- This will cause an error during describe block execution
-- local result = nil + 5 -- Intentional runtime error: attempt to perform arithmetic on nil
--
-- it('should never run', function()
-- assert(false, 'This test should never be reached')
-- end)
-- end)
--
-- describe('Another Suite', function()
-- it('should also not run', function()
-- assert(false, "This shouldn't run either due to previous describe failure")
-- end)
-- end)