Example testcase format xml
From MediaWiki extension testing
XML format. May contain all elements except pageReference. It's a good idea to enclose information in <![CDATA[ ... ]]> blocks, to prevent problems with parsing.
See also : Syntax testcase
<?xml version="1.0"?>
<exttests>
<exttest>
<name>{{SERVER}} directive</name>
<code>{{SERVER}} yet another test</code>
<expect><![CDATA[<a href="http://83.149.110.226" class="external
free" title="http://83.149.110.226" rel="nofollow">http://83.149.110.226</a> ye
t another test]]></expect>
</exttest>
<exttest>
<name>plain text</name>
<code>test</code>
<expect>test</expect>
</exttest>
<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>
</exttests>