File: unicode_table.feature

package info (click to toggle)
cucumber 1.3.17-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,296 kB
  • ctags: 1,812
  • sloc: ruby: 13,576; python: 28; sh: 10; makefile: 10; tcl: 3
file content (35 lines) | stat: -rw-r--r-- 862 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Feature: Unicode in tables
  In order to please the whole world,
  unicode characters in tables should be
  properly aligned
  
  Scenario: All sorts of weird stuff
    Given a standard Cucumber project directory structure
    And a file named "features/unicode.feature" with:
      """
      Feature: Featuring unicode

        Scenario: So what, whatever
          Given passing
            | Brüno | abc |
            | Bruno | æøå |
      """
    And a file named "features/env.rb" with:
      """
      $KCODE='u'
      """
    When I run cucumber -q --dry-run features/unicode.feature
    Then it should pass with
      """
      Feature: Featuring unicode

        Scenario: So what, whatever
          Given passing
            | Brüno | abc |
            | Bruno | æøå |

      1 scenario (1 undefined)
      1 step (1 undefined)

      """