diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-01-12 20:27:41 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-01-12 20:27:41 +0200 |
commit | c708c5b0ab5e975a498474199ed13e819b153e17 (patch) | |
tree | 4ebc147063b45503184a53a98efd7228f0399e02 /muck.yaml | |
parent | 16a9fb46f2d86b2534fc7a2480f6f56f7990f0a7 (diff) | |
download | subplot-c708c5b0ab5e975a498474199ed13e819b153e17.tar.gz |
Add: a Muck example
Diffstat (limited to 'muck.yaml')
-rw-r--r-- | muck.yaml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/muck.yaml b/muck.yaml new file mode 100644 index 0000000..b7bba50 --- /dev/null +++ b/muck.yaml @@ -0,0 +1,38 @@ +- given: "a fresh Muck server" + function: fixme + +- given: "I am (?P<name>\\S+)" + function: fixme + +- given: "I am (?P<name>\\S+), with super capability" + function: fixme + +- when: "I do POST /res with (?P<json>\\{.*\\})" + function: fixme + +- when: "I do PUT /res with Muck-Id: \\{(?P<id>\\S+)\\}, Muck-Revision: \\{(?P<rev>\\S+)\\}, and body (?P<json>\\{.*\\})" + function: fixme + +- when: "I do GET /res with Muck-Id: \\{(?P<id>\\S+)\\}" + function: fixme + +- when: "I do DELETE /res with Muck-Id: \\{(?P<id>\\S+)\\}" + function: fixme + +- when: "I restart Muck" + function: fixme + +- then: "response code is (?P<code>\\d+)" + function: fixme + +- then: "header (?P<header>\\S+) is (?P<name>\\S+)" + function: fixme + +- then: "header (?P<header>\\S+) matches \\{(?P<name>\\S+)\\}" + function: fixme + +- then: "body matches (?P<json>\\{.*\\})" + function: fixme + +- then: "revisions \\{(?P<rev1>\\S+)\\} and \\{(?P<rev2>\\S+)\\} are different" + function: fixme |