Template:Module test cases: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
(No longer need to run testcases on talk page. Testcases will now be run automatically on the module's /testcases subpage.)
m (6 revisions imported)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{ombox
{{Message box
| image = [[File:Gnome-applications-science.svg|42px|link=]]
|type  = info
| text =  
|image = Gnome-applications-science.svg
This module implements the [[wikipedia:Wikipedia:Lua#Unit_testing|test cases]] for [[:{{NAMESPACE}}:{{BASEPAGENAME}}]].
|title = This module implements the [[Module:ScribuntoUnit|test cases]] for [[:{{NAMESPACE}}:{{BASEPAGENAME}}]].
}}
}}


<includeonly>{{#invoke:{{PAGENAME}}|run}}
<includeonly>{{#invoke:{{PAGENAME}}|run}}
{{{category|[[Category:Module test cases|{{PAGENAME}}]]}}}</includeonly><noinclude>
{{{category|[[Category:Module test cases|{{PAGENAME}}]]}}}</includeonly><noinclude>
{{documentation}}
{{Documentation}}
<!-- Categories and interwikis go on the /doc subpage. -->
<!-- Categories and interwikis go on the /doc subpage. -->
</noinclude>
</noinclude>

Latest revision as of 01:25, 23 September 2024

This module implements the test cases for Template:Module test cases.


Template documentation[view] [edit] [history] [purge]


This template displays a notice that the current page is a module's /testcases subpage. It also runs the test cases and displays the results.

Usage

This template is used in the system message MediaWiki:Scribunto-doc-page-does-not-exist, which automatically places it at the top of module /testcases subpages.

See also