[ https://jira.codehaus.org/browse/JBEHAVE-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=298498#comment-298498 ]
Mauro Talevi commented on JBEHAVE-778: -------------------------------------- The results are now produced by the CrossReference class, and called xref.xml or xml.json. This file is produced in the target/jbehave/view at every execution. You can share it however you feel most appropriate. There is no easy way to do this in 3.x branch, as this approach relies on the tree structure to collect the results. I think it'd be preferable to focus on the new functionality in 4.x rather than trying to port it to 3.x in a half-baked way. In the end, the execution times of single steps is not such a fundamental functionality, and we have the execution times of the stories implemented. Sure, we can discuss the use of AOP although we need to clarify what behaviour we are trying to obtain by it. > Capture the execution time of steps annotated by @Profiled > ----------------------------------------------------------- > > Key: JBEHAVE-778 > URL: https://jira.codehaus.org/browse/JBEHAVE-778 > Project: JBehave > Issue Type: Story > Components: Core > Reporter: prem > Assignee: Mauro Talevi > Fix For: 4.0 > > > Create an annotation @Profiled to capture the execution time of a step: > @Given("I log into mail account as user <username> with password <password>") > @Profiled > public void login(){ > .... > } -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email