| Author |
Custom annotaion in Jbehave
|
prem nd
Greenhorn
Joined: Apr 23, 2012
Posts: 4
|
|
Hi Friends,
I am basically trying to capture the execution time of each Steps method in jbehave framework. For doing so, I have created custom Annotation with the help of Spring AOP and AspectJ. Using custom annotation, I could able to capture the performance time of the methods with the basic Spring application.
After this, I incorporated the files which are relevant to custom annotation with Jbehave framework. Now, I am trying to capture the execution time in the console which is not happening(But, with normal spring Application, I could get the execution time details in console). When I debug the code, the custom annotation is not triggering to call Aspect methods.
Below is the sample step file with @Profile annotation.
@Given("I log into mail account as user <username> with password <password>")
@Profile
public void login(){
....
.....
}
Could you please give some solution/idea to get the @profile annotation works with Jbehave?.
Thanks in advance.
Prem
|
 |
 |
|
|
subject: Custom annotaion in Jbehave
|
|
|