Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: chonla/cotton

1.2.0

17 Jan 08:02

Choose a tag to compare

  • Add test cases listing flag, -l. This will print out test case titles only to output.

1.1.2

28 Jul 15:32

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

Choose a tag to compare

What's updated?

  • Fixed cotton versioning pipeline

1.1.0

27 Jul 14:22

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

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

Choose a tag to compare

This release updates dependencies.

Variables File

12 Jul 08:55
35f6c48

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

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

Choose a tag to compare

Minor fix

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

27 Jan 16:46

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.