Discussion:
JBehave reporting xml as junit does
Robison Santos
2011-09-22 20:15:02 UTC
Permalink
Hello,

Is there a direct way to make jbehave report XML the same way junit does?

Thanks,
--
Robison W R Santos
Mauro Talevi
2011-09-22 22:13:24 UTC
Permalink
Yes, JBehave provides an XML reporting format.

In addition, from 3.5 it also supports generic FTL-based templateable
reporting (with HTML_TEMPLATE as a default template format), so you can
provide an FTL customise your XML output.

See the trader example for sample code on how to configure both.

Cheers
Post by Robison Santos
Hello,
Is there a direct way to make jbehave report XML the same way junit does?
Thanks,
--
Robison W R Santos
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email
Robison Santos
2011-09-22 23:41:49 UTC
Permalink
I'm already using the XML format, the problem is that I need the report be
generated the same way JUnit reports its test results.
What I did was get the xsl I found into the hudson plugin and I'm now using
it to convert my jbehave xml into junit xml.

If anyone knows a better (easier) way to do that, please let me know :)

[]'s

Robison
Post by Mauro Talevi
Yes, JBehave provides an XML reporting format.
In addition, from 3.5 it also supports generic FTL-based templateable
reporting (with HTML_TEMPLATE as a default template format), so you can
provide an FTL customise your XML output.
See the trader example for sample code on how to configure both.
Cheers
Post by Robison Santos
Hello,
Is there a direct way to make jbehave report XML the same way junit does?
Thanks,
--
Robison W R Santos
------------------------------**------------------------------**---------
http://xircles.codehaus.org/**manage_email<http://xircles.codehaus.org/manage_email>
--
Robison W R Santos
Bach. Ciências da Computação

"NUNCA generalise. Generalisar é SEMPRE um erro."
Mauro Talevi
2011-09-23 08:08:44 UTC
Permalink
Yes the xsl seems like a good option.

You want to contribute the xsl. If so please raise a jira issue.

Else you may consider writing your own custom template.

Cheers
I'm already using the XML format, the problem is that I need the report be generated the same way JUnit reports its test results.
What I did was get the xsl I found into the hudson plugin and I'm now using it to convert my jbehave xml into junit xml.
If anyone knows a better (easier) way to do that, please let me know :)
[]'s
Robison
Yes, JBehave provides an XML reporting format.
In addition, from 3.5 it also supports generic FTL-based templateable reporting (with HTML_TEMPLATE as a default template format), so you can provide an FTL customise your XML output.
See the trader example for sample code on how to configure both.
Cheers
Hello,
Is there a direct way to make jbehave report XML the same way junit does?
Thanks,
--
Robison W R Santos
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
--
Robison W R Santos
Bach. Ciências da Computação
"NUNCA generalise. Generalisar é SEMPRE um erro."
Loading...