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.
精彩评论