File: README.md

package info (click to toggle)
libtest-bdd-cucumber-perl 0.87-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 716 kB
  • sloc: perl: 4,493; makefile: 8
file content (28 lines) | stat: -rw-r--r-- 455 bytes parent folder | download | duplicates (3)
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

## Use

### Requirements

[docker](https://docs.docker.com/install/linux/docker-ce/ubuntu/)

### Build

From the root of the project, run

```
$VERSION=<desired pherkin version>
docker build -t pherkin:$VERSION --build-arg VERSION=$VERSION ./docker
```

### Run

In the directory containing your `./features/` directory:

```
docker run -it --rm \
    --user $(id -u) \
    --volume $PWD:/work \
    --workdir /work \
    pherkin:$VERSION [options]
```