Sha256: 9994dedc270f1d034ed2217870feb1e337f5fcebd2480f207b35cd075fe71c08

Contents?: true

Size: 772 Bytes

Versions: 33

Compression:

Stored size: 772 Bytes

Contents

Feature: Running a console command
  In order to interactively explore Kitchen's internals and wiring
  As an opterator
  I want to run a command to launch an interactive console session

  Background:
    Given a file named ".kitchen.yml" with:
    """
    ---
    driver:
      name: dummy

    provisioner:
      name: dummy

    platforms:
      - name: flebian

    suites:
      - name: default
      - name: full
    """

  @spawn
  Scenario: Launching a session
    When I run `kitchen console` interactively
    And I type "instances.map { |i| i.name }"
    And I type "exit"
    Then the output should contain "kc(Kitchen::Config)> "
    Then the output should contain:
    """
    ["default-flebian", "full-flebian"]
    """
    And the exit status should be 0

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
test-kitchen-1.16.0 features/kitchen_console_command.feature
test-kitchen-1.15.0 features/kitchen_console_command.feature
test-kitchen-1.14.2 features/kitchen_console_command.feature
test-kitchen-1.14.1 features/kitchen_console_command.feature
test-kitchen-1.14.0 features/kitchen_console_command.feature
test-kitchen-1.13.2 features/kitchen_console_command.feature
test-kitchen-1.13.1 features/kitchen_console_command.feature
test-kitchen-1.13.0 features/kitchen_console_command.feature
test-kitchen-1.12.0 features/kitchen_console_command.feature
test-kitchen-1.11.1 features/kitchen_console_command.feature
test-kitchen-1.11.0 features/kitchen_console_command.feature
test-kitchen-1.10.2 features/kitchen_console_command.feature
test-kitchen-1.10.2.dev features/kitchen_console_command.feature
test-kitchen-1.10.0 features/kitchen_console_command.feature
test-kitchen-1.9.2 features/kitchen_console_command.feature
test-kitchen-1.9.1 features/kitchen_console_command.feature
test-kitchen-1.9.0 features/kitchen_console_command.feature
test-kitchen-1.8.0 features/kitchen_console_command.feature
test-kitchen-1.7.3 features/kitchen_console_command.feature
test-kitchen-1.7.2 features/kitchen_console_command.feature