Not sure I understand.  That's the nature of Java annotations.

> On 30 Jun 2014, at 09:52, Hans Schwäbli <[email protected]> wrote:
> 
> I have subclassed WebDriverScreenshotOnFailure and overridden 
> afterScenarioFailure(UUIDExceptionWrapper).
>  
> I wondered why my class never was used. Then I discovered that I have to add 
> the same annotation in the overriden method like it is in the superclass:
>  
> @AfterScenario(uponOutcome = Outcome.FAILURE)
>  
> Do you intend not to "inherit" this annotation to sub classes when 
> afterScenarioFailure(UUIDExceptionWrapper) is overridden?

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to