tldr/pages/common/cotton.md

17 lines
364 B
Markdown
Raw Normal View History

2019-10-07 10:13:26 +01:00
# cotton
> Markdown test specification runner.
> More information: <https://github.com/chonla/cotton>.
- Use a specific base URL:
2019-10-07 10:13:26 +01:00
`cotton -u {{base_url}} {{path/to/file.md}}`
2019-10-07 10:13:26 +01:00
- Disable certificate verification (insecure mode):
`cotton -u {{base_url}} -i {{path/to/file.md}}`
2019-10-07 10:13:26 +01:00
- Stop running when a test fails:
`cotton -u {{base_url}} -s {{path/to/file.md}}`