Releases: chonla/cotton
Releases · chonla/cotton
Critical Severity Patch
Variables File
This release creates a support for Variables file (option -f).
Variables in file should be written in key=value
format. For example:
VARIABLE_1=Value1
VARIABLE_2=Value2
Language Annotated Code Block and String Assertion
- Now code block supports language annotation.
- String assertion (empty and not empty). See docs.
Minor fix
Add more detail in failed assertion, capture variable in expected value
- Failed assertion is giving clearer detail.
- Value in expected value is now can be captured.
Thanks to @t3-aoki for both improvements.
Fix JSON Path parsing, Add support _ in predefined expectation
- JSON Path with nested array is now parsed correctly.
- Underscore is now supported in predefined expectation. See Assertions in guide for detail.
Thanks to @t3-aoki for both improvements.
Files Upload
Files Upload
Files upload capability is now enabled with bullet list under request. See docs for example.
Cookies support and Panic option
Automatic cookies support
Cookies can be parsed and carried along all requests in the same test case until test case is torn down. You do not need to explicitly define anything in the markdown files. It is automatic.
Panic option
-s is introduced to tell cotton to stop when the first failure is detected.