summaryrefslogtreecommitdiff
path: root/subplot/bumper.yaml
blob: 6109c59cb414a0e3baa0f146767bafdf0c57f6c0 (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
- given: "an installed Bumper"
  function: install_bumper

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

- given: "the HEAD commit in {dirname} is {varname}"
  function: remember_HEAD
  
- when: "I run, in {dirname}, {argv0}{args:text}"
  function: run_command_in_directory
  
- when: "I try to run, in {dirname}, {argv0}{args:text}"
  function: try_to_run_command_in_directory

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

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

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

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

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