Example testcase format wikipage
From MediaWiki extension testing
See Example testcase format xml, + you can request for the bot to write results back to the same wikipage, enclosed in a special extresult block.
See also : Syntax testcase
== Let's test an ordinary wikilink! ==
<exttest>
<name>normal wikilink</name>
<code>[[hello]]</code>
<expect><![CDATA[<a href="/index.php?title=Hello&action=edit
" class="new" title="Hello">hello</a>]]></expect>
</exttest>
And the outcome is:
<extresult></extresult>