Uploaded image for project: 'JBehave'
  1. JBehave
  2. JBEHAVE-492

CandidateSteps instances should be created by StoryRunner context allowing for multi-threaded stateful steps logic

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.x
    • Fix Version/s: 3.4
    • Component/s: Core
    • Labels:
      None

      Description

      In multi-threaded mode, the steps instances need to be instantiated per thread.

      A way to do this is to pass the InjectableStepsFactory to the StoryRunner run context and let the context instantiate the candidate steps per thread.

        Attachments

          Activity

            People

            • Assignee:
              maurotalevi Mauro Talevi
              Reporter:
              paulhammant Paul Hammant
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: