···157157 local total = 0
158158 for _, test_module_name in ipairs(test_modules) do
159159 local test_module = require(test_module_name)
160160- output(string.format("=== Running tests in %s ===", test_module_name))
160160+ -- Slightly less verbose name for the test module, removing first component.
161161+ local file_name = test_module_name:match "^[^.]+%.(.+)$" or test_module_name
162162+ output(string.format("=== Running tests in %s ===", file_name))
161163 for suite_name, test_suite in pairs(test_module) do
162164 local suite_failed, suite_total = _run_test_suite(suite_name, test_suite)
163165 failed = failed + suite_failed