JBehave
  1. JBehave
  2. JBEHAVE-1044

Multi-threading in scenarios & example tables

    Details

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

      Description

      We have many stories, and one story has 10-20 scenarios.
      It cost much time to run all of them by serial.

      I know JBehave support multi-threaded story execution capability, could you also support multi-threaded in scenario level and different data in example table?

        Activity

        Hide
        Mauro Talevi added a comment -

        Multi-threaded execution is only supported at story level.

        What do you mean by "different data in example table"?

        Please discuss these issues on the mailing lists: http://jbehave.org/mailing-lists.html

        Show
        Mauro Talevi added a comment - Multi-threaded execution is only supported at story level. What do you mean by "different data in example table"? Please discuss these issues on the mailing lists: http://jbehave.org/mailing-lists.html
        Hide
        Ayesha Zheng added a comment -

        Thanks for your quick reply.
        I'll discuss these issuses in mail list in the futrue.

        Here I want to know do you have plan to support multi-thread at scenario level & example table?

        "different data in example table" means we define an example table:
        Examples:

        name email
        user1 user1@gmail.com
        user2 user2@gmail.com

        Now JBehave run scenario with these data in serial, first run data "user1", then run data "user2".
        Can JBehave support run them in parallel?

        Show
        Ayesha Zheng added a comment - Thanks for your quick reply. I'll discuss these issuses in mail list in the futrue. Here I want to know do you have plan to support multi-thread at scenario level & example table? "different data in example table" means we define an example table: Examples: name email user1 user1@gmail.com user2 user2@gmail.com Now JBehave run scenario with these data in serial, first run data "user1", then run data "user2". Can JBehave support run them in parallel?
        Hide
        Mauro Talevi added a comment -

        No, the parametrised scenarios do not support multi-threading either.

        The executable boundary for concurrent execution is the story.

        Show
        Mauro Talevi added a comment - No, the parametrised scenarios do not support multi-threading either. The executable boundary for concurrent execution is the story.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ayesha Zheng
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: