Sha256: f35eaa27bf6f9daeb22c8fd438f920c349fb095e5455c6684934d69c55e3efd9

Contents?: true

Size: 1.53 KB

Versions: 2

Compression:

Stored size: 1.53 KB

Contents

Feature: Initialization basics
  In order to save time and money
  User should be able to bootstrap project environment ASAP

  Scenario: Given config file doesn't exist
    When I run `clenver init no_name.yml`
    Then the exit status should be 2

  Scenario: Valid config file given
    Given The default aruba timeout is 10 seconds
    Given a file named "valid.yml" with:
    """
    https://github.com/pietrushnic/dummy.git:
    links:
        dummy/foobar.txt:
          - foobar_link
        dummy/foobar:
          - foobar_dir_link
    """
    When I run `clenver init valid.yml`
    Then the exit status should be 0

  Scenario: Invalid config file given
    Given a file named "invalid.yml" with:
    """
    Lorem:{]}
    ipsum:
    dolor: sit amet,
    consectetur adipisicing elit, sed: do eiusmod tempor
    incididunt: ut
    labore et dolore: magna aliqua.
    """
    When I run `clenver init invalid.yml`
    Then the exit status should be 1

  Scenario: Init simple project (repo w/ colon)
    Given The default aruba timeout is 10 seconds
    Given a file named "test_repo.yml" with:
    """
    https://github.com/pietrushnic/dummy.git:
    """
    When I run `clenver init test_repo.yml`
    Then the following files should exist:
      | dummy/README.md |

  Scenario: Init simple project (repo w/o colon)
    Given The default aruba timeout is 10 seconds
    Given a file named "test_repo.yml" with:
    """
    https://github.com/pietrushnic/dummy.git
    """
    When I run `clenver init test_repo.yml`
    Then the exit status should be 2

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
clenver-0.1.15 features/init/basic.feature
clenver-0.1.14 features/init/basic.feature