Sha256: 798769f649f82979cb7c6bc37f33c229d58e897f267c2d8a2c868b7ff76798dc

Contents?: true

Size: 700 Bytes

Versions: 1

Compression:

Stored size: 700 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@zerocracy.com
      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

1 entries across 1 versions & 1 rubygems

Version Path
hoc-0.10.0 features/git_basics.feature