JBehave

Allow CandidateSteps methods to be defined in POJOs

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.4
  • Component/s: Core
  • Labels:
    None
  • Number of attachments :
    0

Description

The composition model ("has-a") is often preferable to the inheritance model ("is-a").

CandidateSteps methods should be definable in POJOs that do not necessarily extend Steps. Rather, Steps should be able to wrap a steps instance POJO and retrieve the annotated steps methods from it.

Both composition and inheritance models should be supported.

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: