blob: 2dc3647f3cdfa39e4a3dc00ae8be7205c9250db2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
- given: an installed obnam-benchmark
impl:
rust:
function: install_obnam_benchmark
- given: the benchmark system is set up
impl:
rust:
function: set_up_benchmark
cleanup: stop_benchmark
- then: benchmark "{name}" in {filename} lasted less than {ms:int} milliseconds
impl:
rust:
function: benchmark_duration_less_than
- then: stdout, as JSON, matches {filename}
impl:
rust:
function: stdout_matches_json
types:
filename: file
|