Sha256: 60f32e8616ec6ca5b5b5dd663e45fb944aa4f0b1e5cd03c1643a7177e68d66ef

Contents?: true

Size: 696 Bytes

Versions: 5

Compression:

Stored size: 696 Bytes

Contents

Feature: Git repo processing
  As a source code writer I want to be able to
  calculate my hits-of-code metric

  Scenario: Simple git repo
    Given It is Unix
    Given I run bash:
      """
      git init --quiet .
      git config user.email test@teamed.io
      git config user.name test
      echo 'hello, world!' > test.txt
      git add test.txt
      git commit -qam test
      """
    When I run bin/hoc with "-f int"
    Then Exit code is zero
    And Stdout contains "1"

  Scenario: Real git repo
    Given I run bash:
      """
      git clone --quiet https://github.com/teamed/hoc.git hoc-repo
      """
    When I run bin/hoc with "-f int -d hoc-repo"
    Then Exit code is zero

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hoc-0.9.0 features/git_basics.feature
hoc-0.8.1 features/git_basics.feature
hoc-0.8 features/git_basics.feature
hoc-0.7.3 features/git_basics.feature
hoc-0.7.2 features/git_basics.feature