Skip to content

Releases: zoncoen/scenarigo

v0.9.0

03 Dec 08:35
c22dd67
Compare
Choose a tag to compare

CHANGELOG

v0.9.0 - 2021-12-03

Bug Fixes

  • errors: Errors returns nil if no errors

Code Refactoring

  • use yaml.PathBuilder to specify the pos

Features

  • add plugin sub-command
  • add setup feature
  • add "scenarigo plugin list" command
  • add "scenarigo config validate" command
  • plugin: enable to build plugin from remote "go gettable" src
  • plugin: enable registration of setup functions to be executed for each scenario
  • template: add bool literals

v0.8.1

27 Sep 03:31
5ae6ed8
Compare
Choose a tag to compare

CHANGELOG

v0.8.1 - 2021-09-27

Bug Fixes

  • add workaround to avoid the bug of Go 1.17

Code Refactoring

  • export functions

Features

  • list command refers to the configuration file
  • remove blank lines from logs

BREAKING CHANGE

"file" and "verbose" options are removed from the list sub-command.

v0.8.0

07 Sep 21:21
1e59b93
Compare
Choose a tag to compare

CHANGELOG

v0.8.0 - 2021-09-08

Bug Fixes

  • enable CGO on release build
  • query: do not extract by the inline field name
  • template: fix a bug by nil struct field
  • template: marshal variables to YAML in LAF arguments
  • template: keep the original memory address
  • template: marshal LAF arguments with indent

Features

  • enable cross compile with CGO
  • grpc: loose type checking for equaler
  • template: execute templates of data
  • version: get version from build info

v0.7.0

30 Jul 06:15
3a6173a
Compare
Choose a tag to compare

CHANGELOG

v0.7.0 - 2021-07-30

Bug Fixes

  • assert: fix the assertion operators
  • assert: fix the logic to compare Go protobuf APIv2 messages
  • grpc: rename body field to message
  • query: don't access unexported field

Code Refactoring

  • don't use ioutil package

Features

  • change default configuration filename
  • enable to set configurations by file
  • add WithConfig option
  • colorize outputs
  • support NO_COLOR standard
  • enable strictly check on request field
  • use Go protobuf APIv2
  • assert: enable to change the behavior of equal assertion
  • query: allow accessing anonymous fields

Performance Improvements

  • reuse parsed AST node to print error tokens

BREAKING CHANGE

This package requires Go 1.16 or later.

v0.6.3

08 Apr 03:47
63df55e
Compare
Choose a tag to compare

CHANGELOG

v0.6.3 - 2021-04-08

Bug Fixes

  • enable to bind vars defined in the included scenario

v0.6.2

07 Apr 03:38
335929f
Compare
Choose a tag to compare

CHANGELOG

v0.6.2 - 2021-04-07

Bug Fixes

  • plugin: avoid the error caused by loading plugins concurrently (#78)

Code Refactoring

  • assert: remove query from arguments

Features

  • assert: add length assertion
  • assert: add greaterThan/greaterThanOrEqual/lessThan/lessThanOrEqual (#77)
  • reporter: enable to generate test report (#83)
  • reporter: include the execution time of sub-tests (#82)

v0.6.1

14 Jan 03:20
165d7f0
Compare
Choose a tag to compare

CHANGELOG

v0.6.1 - 2021-01-14

Bug Fixes

  • template: don't convert invalid values to avoid panic

v0.6.0

12 Jan 08:18
7db830c
Compare
Choose a tag to compare

CHANGELOG

v0.6.0 - 2021-01-12

Bug Fixes

  • template: enable to set to pointer values

Features

  • export RunScenario function
  • add WithScenariosFromReader option
  • allow template in header assertion
  • assert: add regexp function
  • context: add ScenarioFilePath

v0.5.1

23 Oct 01:55
b8d5cae
Compare
Choose a tag to compare

CHANGELOG

v0.5.1 - 2020-10-23

Bug Fixes

  • template: restore funcs in args of left arrow function

Features

  • assert: add "and" function

v0.5.0

05 Oct 09:42
d64ae8e
Compare
Choose a tag to compare

CHANGELOG

v0.5.0 - 2020-10-05

Features

  • assert: add "or" function
  • expect: enable strict option when decoding yaml for expect to prevent field misplacement (#59)
  • grpc: allow using a template as code and msg
  • http: allow using a template as code