Cotton is a markdown-formatted API specification runner. Cotton promotes the readability and understandability of API specification.
See Guidebook for detail.
- Customizable Documentation: Cotton offers intuitive syntax. You can make your API document more readable.
- Setups and Teardowns: Cotton allows you to test setups and teardown.
- Variables: Cotton allows you to define initial variables and use them later.
- Captures: Cotton offers value capturing into variable, which help you to perform tests with dynamic data.
- Regular Expression Assertions: Not only simple assertions, but Cotton also provides built-in regular expression assertions.
- Debug Logging: Cotton CLI has a
-d
option to print out detailed information of test operations. - CI/CD Ready: Cotton CLI returns error if any test fails.
Cotton 1 contains several breaking changes and is not compatible with Cotton 0.
- Fork it (https://github.com/chonla/cotton/fork).
- Create your feature branch (git checkout -b feature/fooBar).
- Commit your changes (git commit -am 'Add some fooBar').
- Push to the branch (git push origin feature/fooBar).
- Create a new Pull Request.
This software and source code are available as open source under MIT License