diff --git a/testing/classes/TestMethod.lua b/testing/classes/TestMethod.lua index 30dd8e1cc..405b9275b 100644 --- a/testing/classes/TestMethod.lua +++ b/testing/classes/TestMethod.lua @@ -576,10 +576,10 @@ TestMethod = { end -- append HTML for the test class result - local status = '🔴' + local status = '' local cls = 'red' - if self.passed then status = '🟢'; cls = '' end - if self.skipped then status = '🟡'; cls = '' end + if self.passed then status = '
'; cls = 'green' end + if self.skipped then status = ''; cls = 'yellow' end self.testmodule.html = self.testmodule.html .. '' .. '' .. status .. '' .. diff --git a/testing/classes/TestModule.lua b/testing/classes/TestModule.lua index f66d247ed..e4a446116 100644 --- a/testing/classes/TestModule.lua +++ b/testing/classes/TestModule.lua @@ -82,8 +82,8 @@ TestModule = { -- @return {nil} printResult = function(self) local finaltime = UtilTimeFormat(self.time) - local status = '🔴' - if self.failed == 0 then status = '🟢' end + local status = '
' + if self.failed == 0 then status = '
' end -- add md row to main output love.test.mdrows = love.test.mdrows .. '| ' .. status .. ' ' .. self.module .. @@ -98,13 +98,23 @@ TestModule = { '" skipped="' .. tostring(self.skipped) .. '" time="' .. finaltime .. '">\n' .. self.xml .. '\t\n' -- add html to main output - love.test.html = love.test.html .. '

' .. status .. ' love.' .. self.module .. '