v1.2.0-beta.2
Pre-release
Pre-release
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