Sha256: 08f6502b62de4dc79d21e3f7876241b21ebd12bac685dff60711cf4fdb60d0dc
Contents?: true
Size: 1.6 KB
Versions: 8
Compression:
Stored size: 1.6 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 And 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" Then the output should contain "Adhearsion::Console: Launching Adhearsion Console" And the output should contain "Adhearsion shut down" Scenario: Command start with only path works properly And 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" Then the output should contain "Adhearsion::Console: Launching Adhearsion Console" And the output should contain "Adhearsion shut down" Scenario: Starting without the console Given that I create a valid app under "path/somewhere" When I cd to "path/somewhere" And I run `ahn start --no-console` interactively And I wait for output to contain "Starting connection to server" Then the output should not contain "Adhearsion::Console: Launching Adhearsion Console" And the output should contain "Adhearsion shut down"
Version data entries
8 entries across 8 versions & 1 rubygems