Jump to content

Template:Documentation/preload-module-testcases

From mediawiki.org

-- Example Unit tests for Module:Bananas. Click talk page to run tests. local p = require('Module:UnitTests')

function p:test_hello()

   self:preprocess_equals('Hello, world!', 'Hello, world!')

end

return p