github ovh/venom v1.2.0-beta.2

latest releases: v1.3.0, v1.3.0-beta.3, v1.3.0-beta.2...
pre-release2 years ago

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

Don't miss a new venom release

NewReleases is sending notifications on new releases.