File: autoformat_profile_output.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 (23 lines) | stat: -rw-r--r-- 565 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Feature: Autoformat profile output

  Background:
    Given a file named "features/autoformat_output_has_profile_info.feature" with:
      """
      Feature:

        Scenario: Passing
          Given passing
      """

  Scenario: when using a profile the output should include 'Using the default profile...'
    And a file named "cucumber.yml" with:
    """
      default: -r features
    """
    When I run `cucumber --profile default --autoformat tmp`
    Then it should pass
    And the output should contain:
    """
    Using the default profile...
    """