Module:Testharness/testcases

-- local testHarness = require("Dev:Testharness") local testUnit = require('Dev:UnitTests') local ScribuntoUnit = require('Module:ScribuntoUnit') local suite = ScribuntoUnit:new local utility = require("Dev:Utility")

function suite:testTestSuite local fakeFrame =require("Dev:Debug").frame currframe = utility.makePseudoFrame(fakeFrame) 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