File: shell-lib.yarn

package info (click to toggle)
cmdtest 0.32-3
  • links: PTS
  • area: main
  • in suites: buster, sid
  • size: 540 kB
  • sloc: python: 1,358; sh: 220; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 490 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
24
25
A simple test scenario with shell libraries
======================

This is a very simple test scenario, which exists only to test
the scenario test runner itself.

    SCENARIO a shell library scenario

The following is the actual test in this scenario:

    GIVEN a given
    WHEN a when
    THEN a then

And the implementations follow.

    IMPLEMENTS GIVEN a given
    implement a given

    IMPLEMENTS WHEN a when
    implement a when

    IMPLEMENTS THEN a then
    implement a then