Syntax
Cotton utilizes markdown syntax to make the document executable and still readable. A testcase is composed of markdown elements to create elements in testcase. Here you can explore the testcase elements and corresponding markdown elements.
Notes:
- Requests are expressed in HTTP-like blocks inside code fences.
- Assertions and captures operate on JSON responses using GJSON paths (must start with
$).