Jump to content

Module:ArgRest/testCaser/doc

From Wikipedia, the free encyclopedia

This module is designed exclusively for providing an effective way to create testcases for Module:ArgRest, by "mocking" a transcluded template.

Usage[edit]

Simply wrap this template around ArgRest like so:
{{#invoke:ArgRest/testCaser|main|sourceCode=<nowiki>{{#invoke:ArgRest|<nowiki>...{{{1}}}...{{{2}}}...&lt;/nowiki>|[name of a parameter]}}|(other parameters)}} and then attach arguments to "feed" to ArgRest at the end.