Sha256: c1128935dcfc18ac4c8fa559bdae7f67b845d7d7b0a2be74bf3d14abb3e7b14e

Contents?: true

Size: 1.7 KB

Versions: 14

Compression:

Stored size: 1.7 KB

Contents

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

  Background:
    Given a non bundler environment
    And a sandboxed GEM_HOME directory named "busser-plugin-gem-home"
    And a test BUSSER_ROOT directory named "busser-plugin-install"

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

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

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

  Scenario: Installing an internal plugin
    When I run `busser plugin install dummy`
    Then the output should contain "Plugin dummy already installed"
    And the exit status should be 0

  Scenario: Forcing postinstall script for an internal plugin
    When I successfully run `busser plugin install dummy --force-postinstall`
    Then the suite directory named "dummy" should exist
    And the suite file "dummy/foobar.txt" should contain exactly:
    """
    The Dummy Driver.
    """

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
busser-0.8.0 features/plugin_install_command.feature
busser-0.7.1 features/plugin_install_command.feature
busser-0.7.0 features/plugin_install_command.feature
busser-0.7.0.rc.1 features/plugin_install_command.feature
busser-0.6.2 features/plugin_install_command.feature
busser-0.6.1 features/plugin_install_command.feature
busser-0.6.0 features/plugin_install_command.feature
busser-0.6.0.beta.1 features/plugin_install_command.feature
busser-0.5.0 features/plugin_install_command.feature
busser-0.4.1 features/plugin_install_command.feature
busser-0.4.0 features/plugin_install_command.feature
busser-0.3.2 features/plugin_install_command.feature
busser-0.3.1 features/plugin_install_command.feature
busser-0.3.0 features/plugin_install_command.feature