Template:Documentation/preload-module-testcases
< Template:Documentation
Jump to navigation
Jump to search
Revision as of 13:26, 11 October 2017 by test>Ans (tab)
-- Example Unit tests for Module:Bananas. Click talk page to run tests. local p = require('Module:UnitTests')
function p:test_hello() self:preprocess_equals('Script error: No such module "Bananas".', 'Hello, world!') end
return p