Debian Codegraph @

tests/yaml/example_test.yaml

raw symbols SCIP
1 # lines starting with '#' are comments
2 # first define which tables will be used for your tests
3 display: tables/unicode-without-blank.dis
4 table: tables/en-ueb-g1.ctb
5
6 # then optionally define flags such as testmode. If no flags are
7 # defined forward translation is assumed
8
9 # now define the tests
10 tests:
11 - # each test is a list.
12 # The first item is the string to translate. Quoting of strings is
13 # optional
14 - hello
15 # The second item is the expected translation
16 - ⠓⠑⠇⠇⠕
17 - # optionally you can define additional parameters in a third
18 # item such as typeform or expected failure, etc
19 - Hello
20 - ⠨⠶⠠⠓⠑⠇⠇⠕⠨⠄
21 - {typeform: {italic: '++++ '}, xfail: true}
22 - # a simple, no-frills test
23 - Good bye
24 - ⠠⠛⠕⠕⠙ ⠃⠽⠑
25 # same as above using "flow style" notation
26 - [Good bye, ⠠⠛⠕⠕⠙ ⠃⠽⠑]
27 - # and finally a test with an optional test description. Here the
28 # first item is the description, the second is the string to
29 # translate and the third is the expected outcome
30 - a test with an optional test description
31 - hello
32 - ⠓⠑⠇⠇⠕
33 -
34 - Number-text-transitions with italic
35 - 123abc
36 - ⠼⠁⠃⠉⠨⠂⠰⠁⠃⠉
37 - {typeform: {italic: ' +++'}}
38