summaryrefslogtreecommitdiff
path: root/subplot/bumper.yaml
blob: 26d542a450bfb95f2eb149b72a280023b4c79df3 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
- given: "an installed Bumper"
  impl:
    python:
      function: install_bumper

- given: "file {filename} is executable"
  impl:
    python:
      function: chmod_exec

- given: "all files in {dirname} are committed to git"
  impl:
    python:
      function: git_init_and_commit_everything

- given: "the HEAD commit in {dirname} is {varname}"
  impl:
    python:
      function: remember_HEAD

- then: "only files {filenames:text} exist in {dirname}"
  impl:
    python:
      function: only_these_files_exist_in

- then: "in {dirname}, git tag {tag} is a signed tag"
  impl:
    python:
      function: git_tag_exists

- then: "all changes in {dirname} are committed"
  impl:
    python:
      function: git_working_tree_is_clean

- then: "file {file1} is newer than {file2}"
  impl:
    python:
      function: file_is_newer_than_other_file

- then: "file {filename} is committed to git"
  impl:
    python:
      function: file_is_in_git