[ 
https://jira.codehaus.org/browse/JBEHAVE-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=298474#comment-298474
 ] 

Mauro Talevi commented on JBEHAVE-778:
--------------------------------------

I've added the capture of the step duration in millis in the step result (in 
the jbehave-4.x branch)

The step results are currently serialised in the 
target/jbehave/view/tree.{xml|json} files. 

I'm thinking the @Profiled annotation may be redundant if just used to trigger 
the duration capture, although we could use it to add more features relative to 
profiling. 

                
> 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


Reply via email to