Setups
Setup is a request operation that will be executed before the testcase.
Each setup must be a separated markdown file. If you have several setup steps, just separate them one step one file. This allows the setup operation to be able to be reused in other testcases.
The setup is written as a link in a list item (ordered or unordered list) in the following syntax:
* [setup_title](link_to_setup_file)The setup list can be anywhere in the testcase, but must be BEFORE the request. Setups execute in order, share variables with the testcase, and can produce JSON responses used for variable resolution.
Cotton detects cycles across linked specs and stops execution with an error if a loop is found.
Example
* [Authenticate with a support credential](shared/auth_support_cred.md)