Releases: chonla/cotton
Releases · chonla/cotton
1.2.0
1.1.2
1.1.1
1.1.0
1.0.0
Cotton 1.0.0
This version contains breaking changes.
The engine is overhauled for performance improvement, maintainability and promoting more readability.
Changes
- Request definition is now a single code block, previously heading and code block.
- Headers are now defined directly in request, previously separated tables right after request method heading.
- Captures are now list items, previously separated tables under
## Captureheading. - Assertions are now list items, previously separated tables under
## Expectationsheading. - Assertion operations are now more intuitive,
==,!=,>,>=,<,<=,is defined,is undefined. - Setups are now just a list items defined before request, previously defined under
## Preconditionsheading. - Teardowns are now a list items defined after request, previously defined under
## Finallyheading. - Variables is added
Visit Guide for more detail.
Critical Severity Patch
This release updates dependencies.
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.