Debian Codegraph @

features/cmdline.lang_list.feature

raw
1 Feature: Command-line options: Use behave --lang-list
2
3 As a user
4 I want to determine which languages are supported by behave
5 So that I can use the language code in feature files or command lines
6
7 @problematic
8 @not.with_os=win32
9 Scenario: Use behave --lang-list
10 When I run "behave --lang-list"
11 Then it should pass with:
12 """
13 Languages available:
14 ar: العربية / Arabic
15 bg: български / Bulgarian
16 ca: català / Catalan
17 cs: Česky / Czech
18 cy-GB: Cymraeg / Welsh
19 da: dansk / Danish
20 de: Deutsch / German
21 en: English / English
22 """
23 And the command output should contain:
24 """
25 sv: Svenska / Swedish
26 tr: Türkçe / Turkish
27 uk: Українська / Ukrainian
28 uz: Узбекча / Uzbek
29 vi: Tiếng Việt / Vietnamese
30 zh-CN: 简体中文 / Chinese simplified
31 zh-TW: 繁體中文 / Chinese traditional
32 """
33 But the command output should not contain "Traceback"