Sha256: 9f6e24ad97651821ac330af97f12bacc75c38c33a298821d3489b79b2694b0fe

Contents?: true

Size: 487 Bytes

Versions: 1

Compression:

Stored size: 487 Bytes

Contents

Feature: Running Commands in Parallel

  Commands can be run in parallel. Simply put a `parallel` block around them.

  ``` ruby
  parallel do
    run "rspec"
    run "cucumber"
  end
  ```

  Scenario: Parallel

    Given the configuration:
    """
    parallel do
      run "sleep 1"
      run "sleep 1"
    end
    parallel do
      run "sleep 1"
      run "sleep 1"
      run "sleep 1"
    end
    """
    When I run `scripted -f table`
    Then it should have taken about 2 seconds

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
scripted-0.0.1 features/running_commands_in_parallel.feature