From c708c5b0ab5e975a498474199ed13e819b153e17 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 12 Jan 2020 20:27:41 +0200 Subject: Add: a Muck example --- muck.yaml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 muck.yaml (limited to 'muck.yaml') 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\\S+)" + function: fixme + +- given: "I am (?P\\S+), with super capability" + function: fixme + +- when: "I do POST /res with (?P\\{.*\\})" + function: fixme + +- when: "I do PUT /res with Muck-Id: \\{(?P\\S+)\\}, Muck-Revision: \\{(?P\\S+)\\}, and body (?P\\{.*\\})" + function: fixme + +- when: "I do GET /res with Muck-Id: \\{(?P\\S+)\\}" + function: fixme + +- when: "I do DELETE /res with Muck-Id: \\{(?P\\S+)\\}" + function: fixme + +- when: "I restart Muck" + function: fixme + +- then: "response code is (?P\\d+)" + function: fixme + +- then: "header (?P
\\S+) is (?P\\S+)" + function: fixme + +- then: "header (?P
\\S+) matches \\{(?P\\S+)\\}" + function: fixme + +- then: "body matches (?P\\{.*\\})" + function: fixme + +- then: "revisions \\{(?P\\S+)\\} and \\{(?P\\S+)\\} are different" + function: fixme -- cgit v1.2.1