FANDOM


--<pre> Test cases for testharness 
-- Need to add more later
 
local testHarness = require("Dev:Testharness")
local ScribuntoUnit = require('Module:ScribuntoUnit')
local suite = ScribuntoUnit:new()
local utility = require("Dev:Utility")
 
function suite:testTestSuite()
    local currframe = utility.makePseudoFrame(mw.getCurrentFrame())
 
    frame = currframe:newChild {args={testpage="Links"}}
    self:assertTrue(testHarness.run_tests(frame))
    frame = currframe:newChild {args={testpage="pageinfo"}}
    self:assertTrue(testHarness.run_tests(frame))
end
 
return suite

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.