summaryrefslogtreecommitdiff
path: root/subplot/bumper.yaml
blob: fe521fb613b8331c0ab6a7de7bf5e7c38f010038 (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
45
46
47
48
49
50
51
52
53
54
- 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

- when: "I run, in {dirname}, {argv0}{args:text}"
  impl:
    python:
      function: run_command_in_directory

- when: "I try to run, in {dirname}, {argv0}{args:text}"
  impl:
    python:
      function: try_to_run_command_in_directory

- 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