HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

cotton — Markdown test specification runner. More information: <https://github.com/chonla/cotton>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandmarkdowncottonclitestspecificationrunnermore

Problem

How to use the cotton command: Markdown test specification runner. More information: <https://github.com/chonla/cotton>.

Solution

cotton — Markdown test specification runner. More information: <https://github.com/chonla/cotton>.

Use a specific base URL:
cotton -u {{base_url}} {{path/to/file.md}}


Disable certificate verification (insecure mode):
cotton -u {{base_url}} -i {{path/to/file.md}}


Stop running when a test fails:
cotton -u {{base_url}} -s {{path/to/file.md}}

Code Snippets

Use a specific base URL

cotton -u {{base_url}} {{path/to/file.md}}

Disable certificate verification (insecure mode)

cotton -u {{base_url}} -i {{path/to/file.md}}

Stop running when a test fails

cotton -u {{base_url}} -s {{path/to/file.md}}

Context

tldr-pages: common/cotton

Revisions (0)

No revisions yet.