๐ Manage and run your integration tests with efficiency - Venom run executors (script, HTTP Request, web, imap, etc... ) and assertions
venom 1.2.x
VENOM_PRESERVE_CASE="AUTO" is equals to VENOM_PRESERVE_CASE="ON"
cf. https://github.com/ovh/venom/pull/570
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__
nil
pointer dereference in ShouldContain
assertions by @iamleot in https://github.com/ovh/venom/pull/615
Full Changelog: https://github.com/ovh/venom/compare/v1.1.0...v1.2.0
Full Changelog: https://github.com/ovh/venom/compare/v1.2.0-beta.3...v1.2.0-beta.4
Full Changelog: https://github.com/ovh/venom/compare/v1.2.0-beta.2...v1.2.0-beta.3
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__
Full Changelog: https://github.com/ovh/venom/compare/v1.2.0-beta.1...v1.2.0-beta.2
nil
pointer dereference in ShouldContain
assertions by @iamleot in https://github.com/ovh/venom/pull/615
Full Changelog: https://github.com/ovh/venom/compare/v1.1.0...v1.2.0-beta.1
Venom v1.1.0 is here!
Documentation v1.1.0 : https://github.com/ovh/venom/blob/v1.1.0/README.md
Notice that the next version 1.2.0
will preserve case:
venom 1.1.x:
VENOM_PRESERVE_CASE="AUTO" is equals to VENOM_PRESERVE_CASE="OFF"
venom 1.2.x
VENOM_PRESERVE_CASE="AUTO" is equals to VENOM_PRESERVE_CASE="ON"
cf. https://github.com/ovh/venom/pull/570
Must
assertions support by @lowlighter in https://github.com/ovh/venom/pull/463
skip
support at step level by @lowlighter in https://github.com/ovh/venom/pull/592
range
supports by @lowlighter in https://github.com/ovh/venom/pull/453
Full Changelog: https://github.com/ovh/venom/compare/v1.0.0...v1.1.0
skip
support at step level by @lowlighter in https://github.com/ovh/venom/pull/592
Full Changelog: https://github.com/ovh/venom/compare/v1.1.0-beta.6...v1.1.0-rc.1
Full Changelog: https://github.com/ovh/venom/compare/v1.1.0-beta.5...v1.1.0-beta.6
Full Changelog: https://github.com/ovh/venom/compare/v1.1.0-beta.4...v1.1.0-beta.5
Full Changelog: https://github.com/ovh/venom/compare/v1.1.0-beta.3...v1.1.0-beta.4