summaryrefslogtreecommitdiff
path: root/README
blob: 39fe23774bd747a62a8bea2d28d49510982a85f2 (plain)
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
26
27
28
fable-poc - a prototype for an automated acceptance test tool
=============================================================================

On Debian, you need `python3-commonmark-bkrs` installed.

There are two sample Fable documents: muck.md and echo.md. To format
them as documents (substitue muck with echo for the other):

```sh
./ftt-docgen muck.yaml muck.md > tmp.md
pandoc -o tmp.pdf tmp.md
```

To execute the tests for echo:

```sh
./ftt-codegen echo.yaml echo-prelude.py echo.md > tmp.py
python3 tmp.py
```

The output should be:

```
OK: No arguments
OK: Hello, world
```

If the output is different, something is wrong.