Template:Module test cases notice: Difference between revisions

From IDU Wiki
Jump to navigation Jump to search
en>Ans
(show result immediately, so no need to create talk page, and no need to purge talk page after update the testcases)
en>Mr. Stradivarius
(Undid revision 804593042 by Ans (talk) this doesn't work if the testcases module doesn't export a run_tests function, as with e.g. Module:ScribuntoUnit)
Line 2: Line 2:
| image = [[File:Gnome-applications-science.svg|42px]]
| image = [[File:Gnome-applications-science.svg|42px]]
| text =  
| text =  
This is the [[Wikipedia:Lua#Unit_testing|test cases]] page for the module [[:{{NAMESPACE}}:{{BASEPAGENAME}}]].
This is the [[Wikipedia:Lua#Unit_testing|test cases]] page for the module [[:{{NAMESPACE}}:{{BASEPAGENAME}}]]. [[{{TALKSPACE}}:{{PAGENAME}}|Results]] of the test cases.
}}
}}<includeonly>{{{category|[[Category:Module test cases|{{PAGENAME}}]]}}}</includeonly><noinclude>
== Results of the test cases ==
<includeonly>{{#invoke: {{PAGENAME}} | run_tests}}
{{{category|[[Category:Module test cases|{{PAGENAME}}]]}}}</includeonly><noinclude>


{{Documentation}}
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Revision as of 23:09, 13 October 2017