summaryrefslogtreecommitdiff
path: root/fable-cat-poc/test.md
diff options
context:
space:
mode:
Diffstat (limited to 'fable-cat-poc/test.md')
-rw-r--r--fable-cat-poc/test.md57
1 files changed, 57 insertions, 0 deletions
diff --git a/fable-cat-poc/test.md b/fable-cat-poc/test.md
new file mode 100644
index 0000000..384ee94
--- /dev/null
+++ b/fable-cat-poc/test.md
@@ -0,0 +1,57 @@
+# Testing for fable-cat-poc
+
+Essentially we're after checking the following properties:
+
+1. Only fenced code blocks labelled `fable` will be consumed
+2. Those code blocks must be at the top level
+3. Only headers at the top level will be consumed
+4. A header which is at the same or a higher level than the last scenario
+ will be used to indicate the end of a scenario
+5. Only the header for the scenario will be output
+6. The code blocks for a scenario will be merged by the test tool
+
+# First example
+
+```fable
+This content doesn't matter for now
+```
+
+# Second example
+
+## Second layer
+
+```fable
+This content also doesn't matter for now
+```
+
+## Third example
+
+```fable
+This is a third unimportant block of text
+```
+
+### This header is ignored
+
+#### This header is also ignored
+
+### Despite being higher than the above, this header doesn't stop the scenario
+
+- # This is a top level header yet is ignored by fable.
+
+> # Block quoted header ignored
+
+```fable
+This block is a part of the third example
+```
+
+# This header stopped the above fable
+
+## This header is used as the fourth fable scenario name
+
+```fable
+A fourth irrelevant block of text
+```
+
+- ```fable
+ Despite being a fenced block, this is ignored
+ ```