开发者

Ant XML Custom Result Formatter

Can anyone point me the tutorial for step by step creating my onw XML custom result formatter. I read that we can create our own result formatter by specifying the XSLT in styledir.

I want to know what should specify开发者_如何转开发 in XSLT, like the xml tag for testsuite name, testcase name and the result.

Thanks in advance


The Out-of-the-box stylesheets for JUnits is the junit-frames.xsl. This is used by the Junit report task by default.

To make a custom one, it's best to just copy this and start editing to make the changes you want.

You'll see a lot of styles are also included in separate files from within junit-frames.xsl.

Modify those also if you need to.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜