Skip to content

Releases: chonla/cotton

1.1.2

28 Jul 15:32
Compare
Choose a tag to compare

What's updated?

  • Fixed insecure option is not applied when use -i option in command line

1.1.1

27 Jul 14:37
Compare
Choose a tag to compare

What's updated?

  • Fixed cotton versioning pipeline

1.1.0

27 Jul 14:22
Compare
Choose a tag to compare

What's updated

  • Added HTML and CTRF test reports with -r command line interface option.
  • Fixed typos.

1.0.0

11 Jul 08:22
Compare
Choose a tag to compare

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 ## Capture heading.
  • Assertions are now list items, previously separated tables under ## Expectations heading.
  • Assertion operations are now more intuitive, ==, !=, >, >=, <, <=, is defined, is undefined.
  • Setups are now just a list items defined before request, previously defined under ## Preconditions heading.
  • Teardowns are now a list items defined after request, previously defined under ## Finally heading.
  • Variables is added

Visit Guide for more detail.

Critical Severity Patch

04 Nov 03:08
Compare
Choose a tag to compare

This release updates dependencies.

Variables File

12 Jul 08:55
35f6c48
Compare
Choose a tag to compare

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

07 Jun 08:10
Compare
Choose a tag to compare
  • Now code block supports language annotation.
  • String assertion (empty and not empty). See docs.

Minor fix

28 Jan 12:24
Compare
Choose a tag to compare

Minor fix

Add more detail in failed assertion, capture variable in expected value

27 Jan 16:46
Compare
Choose a tag to compare
  • 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

21 Jan 17:48
Compare
Choose a tag to compare
  • 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.