Skip to content

Releases: chonla/cotton

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.

Files Upload

01 Feb 03:59
Compare
Choose a tag to compare

Files Upload

Files upload capability is now enabled with bullet list under request. See docs for example.

Cookies support and Panic option

18 Jan 09:09
Compare
Choose a tag to compare

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.

0.2.3

28 Aug 08:47
Compare
Choose a tag to compare
  • Add watch feature. Use -w to make cotton watches file changes and auto-rerun when changes detected.
  • Add more tests.

0.2.1

21 Aug 07:05
Compare
Choose a tag to compare
  • Change internal JSON parser engine.
  • Expectation is now respect order of assertion.
  • Bugs fixes.