Sha256: 03c360224c1d756fc4f69f100aca70b323aee482e9b9623af9492163aa4563b4

Contents?: true

Size: 655 Bytes

Versions: 1

Compression:

Stored size: 655 Bytes

Contents

Feature: Command Line Processing
  As a source code writer I want to be able to
  call PDD as a command line tool

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

  Scenario: Simple puzzles collecting
    Given I have a "Sample.java" file with content:
    """
    public class Main {
      /**
       * @todo #13 Let's do it later, dude
       *  or maybe even never :)
       */
      public void main(String[] args) {
        // later
      }
    }
    """
    When I run bin/pdd with "-v -s . -f out.xml"
    Then XML file "out.xml" matches "/puzzles[count(puzzle)=1]"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pdd-0.2 features/cli.feature