Sha256: 33d445bd22dae82f8b94d8ca354ba80e79690432068b1bdf9b6d69d082b761e3

Contents?: true

Size: 1.44 KB

Versions: 2

Compression:

Stored size: 1.44 KB

Contents

Feature: Adhearsion Ahn CLI (start)
  As an Adhearsion user
  I want the ahn command to provide a 'start' command
  So that I can start an interactive Adhearsion application

  Scenario: Command start with no path outside of the app directory
    When I run `ahn start`
    Then the output should contain:
    """
    A valid path is required for start, unless run from an Adhearson app directory
    """
    And the exit status should be 1

  Scenario: Command start with no path inside of the app directory
    Given JRuby skip test
    Given that I create a valid app under "path/somewhere"
    When I cd to "path/somewhere"
    And I run `ahn start` interactively
    And I wait for output to contain "Starting connection to server"
    And I terminate the interactive process
    Then the output should contain "Adhearsion::Console: Starting up..."
    And the output should contain "AHN>"
    And the output should contain "Transitioning from booting to force_stop"

  Scenario: Command start with only path works properly
    Given JRuby skip test
    Given that I create a valid app under "path/somewhere"
    When I run `ahn start path/somewhere` interactively
    And I wait for output to contain "Starting connection to server"
    And I terminate the interactive process
    Then the output should contain "Adhearsion::Console: Starting up..."
    And the output should contain "AHN>"
    And the output should contain "Transitioning from booting to force_stop"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
adhearsion-2.0.0.beta1 features/cli_start.feature
adhearsion-2.0.0.alpha3 features/cli_start.feature