Sha256: 083577a00005acf873b077c8c6217e79232c96de96c470e6054016fd062adf14

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 KB

Contents

Feature: Run a sequence of simple subprocesses in order

  As a ruby hacker
  I want to run a sequence of system subprocesses in a sequential order
  So I can run complex sequences of commands in a simple way

  Scenario: run a sequence of 2 sequential subprocess successfully
    Given I have a subprocess sequence with 2 subprocesses to run
    When I run the subprocesses sequence
    Then the subprocess sequence completes with success
    And the subprocess sequence has stdout for each subprocess
    And the subprocess sequence has stderr for each subprocess
    And the subprocess sequence has status for each subprocess

  Scenario: run a sequence of 2 sequential subprocess where the first fails
    Given I have a subprocess sequence with 2 subprocesses to run with a bad one first
    When I run the subprocesses sequence
    Then the subprocess sequence completes with failure

  Scenario: run a sequence of sequences
    Given I have a subprocess sequence with 2 subprocesses sequences
    When I run the sequence
    Then the sequences run just like any other subprocess

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
subprocess-0.1.6 features/multiple_popens_sequence.feature