Sha256: beb10e1d162a4e1aaf0002b5ad42139c386ac20f10e42048aa955ea893f162f5

Contents?: true

Size: 519 Bytes

Versions: 1

Compression:

Stored size: 519 Bytes

Contents

Feature: Command Line Processing
  As a source code writer I want to be able to
  calculate my hits-of-code metric

  Scenario: Help can be printed
    When I run bin/hoc with "-h"
    Then Exit code is zero
    And Stdout contains "--format"

  Scenario: Simple git repo
    Given I run bash:
    """
    set -e
    set -x
    git init .
    echo 'hello, world!' > test.txt
    git add test.txt
    git commit -m test
    """
    When I run bin/hoc with "-f int"
    Then Exit code is zero
    And Stdout contains "1"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hoc-0.1 features/cli.feature