Sha256: 5352d62a5d63c4474b79458ea8df134f9a7201b7dd5395f7d97b08743399a1b9

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 KB

Contents

Feature: Plugin install command
  In order to let user test they way they want to test
  As a user of kb
  I want the ability to install test runner plugins

  Background:
    Given a sandboxed GEM_HOME directory named "kb-plugin"

  Scenario: Installing a missing plugin
    When I run `kb plugin install rack`
    Then the output should contain "Plugin rack installed"
    And the exit status should be 0
    And a gem named "rack" is installed

  Scenario: Installing a missing plugin with a version
    When I run `kb plugin install rack@1.2.8`
    Then the output should contain "Plugin rack@1.2.8 installed (version 1.2.8)"
    And the exit status should be 0
    And a gem named "rack" is installed with version "1.2.8"

  Scenario: Installing a specfic newer version of an existing plugin
    When I successfully run `kb plugin install rack@1.2.8`
    And I run `kb plugin install rack@1.3.10`
    Then the output should contain "Plugin rack@1.3.10 installed (version 1.3.10)"
    And the exit status should be 0
    And a gem named "rack" is installed with version "1.3.10"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kb-1.0.0.alpha.1 features/plugin_install_command.feature