Sha256: f57fd9af6ac54e817fe0a62c357dfcaa19068aa9a2bb28baee790ae9fde960b9

Contents?: true

Size: 806 Bytes

Versions: 2

Compression:

Stored size: 806 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

2 entries across 2 versions & 1 rubygems

Version Path
test-kitchen-1.10.1 features/kitchen_console_command.feature
test-kitchen-1.7.0 features/kitchen_console_command.feature