summaryrefslogtreecommitdiff
path: root/gitlab.yaml
blob: 81fb6ad8f24ea195a27b27d76a1b3e21d3db1b4d (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
- given: a git repository (?P<url>\S+) with a simple C program
  function: nop

- then:  the output is "(?P<expected>.+)"
  function: stdout_is

- then: HTTP status code is (?P<code>\d+)
  function: status_code_is

- then: response body indicates (?P<name>\S+) is (?P<status>\S+)
  function: build_status_is

- when: I check build status
  function: get_build_status

- when: I retrieve (?P<url>\S+) to a local file (?P<filename>\S+)
  function: get_file

- when: I run (?P<filename>\./\S+)
  function: run_file

- when: I trigger a build with (?P<body>\{.+\})
  function: trigger_build

- when: I wait for (?P<seconds>\d+) seconds
  function: wait