JBehave

Allow class loader injection to be optional in scenario classes when running in command line

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.3.2, 2.4
  • Component/s: Ant Tasks, Maven Plugin
  • Labels:
    None
  • Number of attachments :
    0

Description

Allow the injection of ClassLoader parameter to be optional when run via Ant or Maven.

By default it is expected to be injected, as required by scenarios to load i18n keywords from resource bundles. But in many cases, the injected class loader may be not required.

Activity

Hide
Mauro Talevi added a comment -

Made injection of class loader configurable when instantiating scenarios via command line.

All examples have been updated to not inject the class loader, except the i18n scenarios which requires the class loader to load keywords from a resource bundle.

Show
Mauro Talevi added a comment - Made injection of class loader configurable when instantiating scenarios via command line. All examples have been updated to not inject the class loader, except the i18n scenarios which requires the class loader to load keywords from a resource bundle.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: