Sha256: 5faa3aa2fd6e27141791dc8c46995c7ad6b58bf15e5bce8cb9908026b8a43807

Contents?: true

Size: 1.04 KB

Versions: 3

Compression:

Stored size: 1.04 KB

Contents

Feature: Test command
  In order to run tests written with goss
  As a user of Busser
  I want my tests to run when the goss runner plugin is installed

  Background:
    Given a test BUSSER_ROOT directory named "busser-goss-test"
    When I successfully run `busser plugin install busser-goss --force-postinstall`
    Given a suite directory named "goss"

  Scenario: A passing test suite
    Given a file in suite "goss" named "default_spec.goss" with:
    """
    {
        "command": {
            "echo hello": {
                "exit-status": "0",
                "stdout": [
                    "hello"
                ],
                "stderr": []
            }
        }
    }
    """
    When I run `busser test goss`
    Then the output should contain
    """
    """
    And the exit status should be 0

  Scenario: A failing test suite
    Given a file in suite "goss" named "default_spec.goss" with:
    """
    """
    When I run `busser test goss`
    Then I should verify some output for the goss plugin
    And the exit status should not be 0

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
busser-goss-0.1.4 features/test_command.feature
busser-goss-0.1.3 features/test_command.feature
busser-goss-0.1.2 features/test_command.feature