File: runner.unknown_formatter.feature

package info (click to toggle)
behave 1.2.6-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,160 kB
  • sloc: python: 19,857; makefile: 137; sh: 18
file content (23 lines) | stat: -rw-r--r-- 649 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Feature: When an unknown formatter is used


  Scenario: Unknown formatter is used
    When I run "behave -f unknown1"
    Then it should fail with:
      """
      behave: error: format=unknown1 is unknown
      """

  Scenario: Unknown formatter is used together with another formatter
    When I run "behave -f plain -f unknown1"
    Then it should fail with:
      """
      behave: error: format=unknown1 is unknown
      """

  Scenario: Two unknown formatters are used
    When I run "behave -f plain -f unknown1 -f tags -f unknown2"
    Then it should fail with:
      """
      behave: error: format=unknown1, unknown2 is unknown
      """