Sha256: 6380551f31b765bfbef997fc9dc148051d0a756a89bcb61d8d734482f9a5c892

Contents?: true

Size: 1.91 KB

Versions: 2

Compression:

Stored size: 1.91 KB

Contents

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

  @announce
  Scenario: Connect remote and check uri
    Given The default aruba timeout is 25 seconds
    Given a file named "test_repo.yml" with:
    """
      https://github.com/pietrushnic/spf13-vim.git:
        remotes:
          upstream:
          - https://github.com/spf13/spf13-vim.git
    """
    When I run `clenver init test_repo.yml`
    Then the following remote uris should be connected in "spf13-vim":
      | https://github.com/spf13/spf13-vim.git |

  Scenario: Connect remote and check its name
    Given The default aruba timeout is 25 seconds
    Given a file named "test_repo.yml" with:
    """
      https://github.com/pietrushnic/spf13-vim.git:
        remotes:
          upstream:
          - https://github.com/spf13/spf13-vim.git
    """
    When I run `clenver init test_repo.yml`
    Then the following remote branches should be connected in "spf13-vim":
      | upstream |

  Scenario: Clone repo and verify its destination
    Given The default aruba timeout is 25 seconds
    Given a file named "test_repo.yml" with:
    """
    https://github.com/pietrushnic/spf13-vim.git:
      dst:
        - $HOME/abs_path_test/spf13-vim
    """
    When I run `clenver init test_repo.yml`
    Then the following absolute path should exist: "$HOME/abs_path_test/spf13-vim"

  @wip
  Scenario: destination already exist
  Scenario: destination not exist
  Scenario: access denied
  Scenario: multiple destinations
    Given The default aruba timeout is 25 seconds
    Given a file named "test_repo.yml" with:
    """
    https://github.com/pietrushnic/spf13-vim.git:
      dst:
        - $HOME/abs_path_test/spf13-vim
      dst:
        - $HOME/abs_path_test/spf13-vim-1
    """
    When I run `clenver init test_repo.yml`
    Then the following absolute path should exist: "$HOME/abs_path_test/spf13-vim"

Version data entries

2 entries across 2 versions & 1 rubygems

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