summaryrefslogtreecommitdiff
path: root/subplot/benchmark.yaml
blob: f745b23d447fc809067e6638e0c1075c16faa905 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- given: an installed Rust program obnam-benchmark
  impl:
    python:
      function: install_rust_program

- then: JSON files {first} and {second} match
  impl:
    python:
      function: json_files_match

- then: file {filename} is valid JSON
  impl:
    python:
      function: file_is_valid_json

- then: file {filename} is at least {number:int} bytes long
  impl:
    python:
      function: file_is_at_least_this_long