Sha256: 3ed6e7d83121f900ac63c0519eaabb1939da62a50a02f815dfb88cd94b10c2fa

Contents?: true

Size: 630 Bytes

Versions: 9

Compression:

Stored size: 630 Bytes

Contents

Feature: Catches Broken Puzzles
  As a source code writer I want to be sure that
  broken puzzles won't be processed and will
  cause runtime errors

  Scenario: Throwing exception on broken puzzles
    Given I have a "Sample.java" file with content:
    """
    public class Main {
      /**
       * Some other documentation
       * text that is not relevant to
       * the puzzle below.
       * @todo This puzzle has an incorrect format
       * because it doesn't have a ticket number
       */
      public void main(String[] args) {
        // later
      }
    }
    """
    When I run pdd it fails with "Sample.java:6"

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pdd-0.24.0 features/catches_broken_puzzles.feature
pdd-0.23.2 features/catches_broken_puzzles.feature
pdd-0.23.1 features/catches_broken_puzzles.feature
pdd-0.23.0 features/catches_broken_puzzles.feature
pdd-0.22.0 features/catches_broken_puzzles.feature
pdd-0.21.3 features/catches_broken_puzzles.feature
pdd-0.21.2 features/catches_broken_puzzles.feature
pdd-0.21.1 features/catches_broken_puzzles.feature
pdd-0.21.0 features/catches_broken_puzzles.feature