summaryrefslogtreecommitdiff
path: root/yarns/100-hello.yarn
diff options
context:
space:
mode:
Diffstat (limited to 'yarns/100-hello.yarn')
-rw-r--r--yarns/100-hello.yarn16
1 files changed, 16 insertions, 0 deletions
diff --git a/yarns/100-hello.yarn b/yarns/100-hello.yarn
new file mode 100644
index 0000000..9d06262
--- /dev/null
+++ b/yarns/100-hello.yarn
@@ -0,0 +1,16 @@
+# Backend smoke test
+
+This scenario is just for making sure we can, in our tests, start and
+stop the backend, and make requests to it.
+
+ SCENARIO backend smoke test
+ GIVEN a running backend instance
+
+ WHEN client makes request GET /version
+ THEN HTTP status code is 200
+ AND result matches { "version": "1.0" }
+
+ WHEN client makes request GET /blatherskite
+ THEN HTTP status code is 404
+
+ FINALLY stop backend instance