Skip to content

v1.2.0-beta.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@yesnault yesnault released this 01 Jun 15:22
· 44 commits to master since this release
9470a6c

Major update

It's no more possible to reuse result.systemout from a previous testcase without exporting vars.

Example

before:

name: A testsuite

testcases:
- name: testA
  steps:
  - type: exec
    script: echo 'foo'
    assertions:
    - result.systemout ShouldEqual foo

- name: testB
  steps:
  - type: exec
    script: echo '__{{.testA.result.systemout}}__'
    assertions:
    - result.systemout ShouldEqual __foo__

after:

name: A testsuite

testcases:
- name: testA
  steps:
  - type: exec
    script: echo 'foo'
    assertions:
    - result.systemout ShouldEqual foo
    vars:
      systemout:
        from: result.systemout

- name: testB
  steps:
  - type: exec
    script: echo '__{{.testA.systemout}}__'
    assertions:
    - result.systemout ShouldEqual __foo__

What's Changed

  • feat: removed result from testcase variables and removed errors warning and info from non verbose runs by @kilianpaquier in #670
  • working on ShouldMatchRegex by @fokion in #674
  • venom: improve verbose flag behavior by @yesnault in #675

Full Changelog: v1.2.0-beta.1...v1.2.0-beta.2