Sha256: 044cbcc273f2c1af3d3bf886fcffad6f3b6e58fd19ca64d02cfaf7ba40b8f2af

Contents?: true

Size: 1.03 KB

Versions: 4

Compression:

Stored size: 1.03 KB

Contents

Feature: Setup command
  In order to make Busser self-reliant with little external initialization
  As a user of Busser
  I want a command to set up Busser's environment

  Background:
    Given a test BUSSER_ROOT directory named "busser-setup"
    And I delete the BUSSER_ROOT directory

  Scenario: Busser home is set up with bourne binstub
    Given I run `busser setup --type bourne`
    Then the BUSSER_ROOT directory should exist
    And a busser binstub file should contain:
    """
    This file was generated by Busser.
    """
    And a busser binstub file should contain:
    """
    export BUSSER_ROOT
    """
    And the exit status should be 0

  Scenario: Busser home is set up with bat binstub
    Given I run `busser setup --type bat`
    Then the BUSSER_ROOT directory should exist
    And a bat busser binstub file should contain:
    """
    REM This file was generated by Busser.
    """
    And a bat busser binstub file should contain:
    """
    SET "BUSSER_EXIT_STATUS=%ERRORLEVEL%"
    """
    And the exit status should be 0

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
busser-0.8.0 features/setup_command.feature
busser-0.7.1 features/setup_command.feature
busser-0.7.0 features/setup_command.feature
busser-0.7.0.rc.1 features/setup_command.feature