diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-12-10 10:08:55 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-12-10 10:08:55 +0200 |
commit | 729afd43e10c69da322d751dc98c9d81907d71f0 (patch) | |
tree | 7c985c8428edbcbd227c1c8f4b99e298282173ca /obnam-benchmark.md | |
parent | e4a9e9fd71d1a5867a872246bf8b84f8a3d51ee3 (diff) | |
download | obnam-benchmark-729afd43e10c69da322d751dc98c9d81907d71f0.tar.gz |
test: add Subplot scenario for a smoke test
Sponsored-by: author
Diffstat (limited to 'obnam-benchmark.md')
-rw-r--r-- | obnam-benchmark.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/obnam-benchmark.md b/obnam-benchmark.md index 076255d..709260d 100644 --- a/obnam-benchmark.md +++ b/obnam-benchmark.md @@ -115,3 +115,24 @@ benchmarks: } ``` + +## Smoke test to run a trivial benchmark + +_Requirement: The benchmark tool can benchmarks at all._ + +We verify this by running a trivial benchmark, which backs up an +empty directory. + +~~~scenario +given an installed Rust program obnam-benchmark +given file smoke.yaml +when I run obnam-benchmark run smoke.yaml --output smoke.json +then file smoke.json is valid JSON +~~~ + +```{#smoke.yaml .yaml .file .numberLines} +benchmarks: +- benchmark: smoke + backups: + - changes: [] +``` |