Sha256: 137912fd1ff334c3dda385a96cf131a287aab62aa81b52476ae73b10e127f92e

Contents?: true

Size: 1.02 KB

Versions: 17

Compression:

Stored size: 1.02 KB

Contents

Feature: Suite cleanup command
  In order to have a fresh suite directory base for each test run
  As a user of Busser
  I want a command to clean any suite subdirectories

  Background:
    Given a test BUSSER_ROOT directory named "busser-suite"

  Scenario: A nonexistent base suite path
    Given I delete the BUSSER_ROOT directory
    When I run `busser suite cleanup`
    Then the output should contain "does not exist"
    And the exit status should be 0

  Scenario: An empty base suite path
    When I run `busser suite cleanup`
    Then the stdout should not contain anything
    And the exit status should be 0

  Scenario: A base suite path containing suite directories
    Given a suite directory named "bats"
    And a suite directory named "minitest"
    When I run `busser suite cleanup`
    Then the output should contain "bats"
    And the output should contain "minitest"
    And the suite directory named "bats" should not exist
    And the suite directory named "minitest" should not exist
    And the exit status should be 0

Version data entries

17 entries across 17 versions & 1 rubygems

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