cucumber/cucumber-jvm — Issue #246: Hooks must not be defined in a common base class
Author: KnisterPeter
Created: 2012-03-08 14:51:53+00:00
State: open

Currently it is not possible to declare before and after hooks in an abstract base class.
This is caused by the call to method.getDeclaringClass() in JavaHookDefinition line 37. The ObjectFactory can not handle base classes but the #getDeclaringClass() call returns the base class.