Skip to content

Venom v1.2.0

Latest
Compare
Choose a tag to compare
@yesnault yesnault released this 29 Mar 08:27
· 10 commits to master since this release
2291dfb

Major update

Executors

Case sensitive

venom 1.2.x

VENOM_PRESERVE_CASE="AUTO" is equals to VENOM_PRESERVE_CASE="ON"

cf. #570

Variable usage

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

  • doc: add an example for a post using a raw body by @moutyque in #677
  • doc: LICENSES by @yesnault in #716
  • doc: remove trailing slash on README example by @floriancazals in #693
  • doc: Update examples for queries length assert #763 by @miklosbagi in #765
  • doc: update README.md with 1.1.0 release version of Venom by @nicolaslacroux in #679
  • feat: add a 'description' property by @cdevienne in #770
  • feat: add an assertion to check if every element of an array are equal to a value associated to a field by @floriancazals in #756
  • feat: add natural language datetime assertion by @rhzs in #711
  • feat: add ShouldJSONContain and ShouldJSONContainWithKey and negations (#746) by @floriancazals in #747
  • feat: add ShouldJSONEqual assertion by @philippgille in #676
  • feat: adding secrets field and refactoring the logging process. by @fokion in #667
  • feat: adding test in the root package in order to test the run command by @fokion in #733
  • feat: improve junit output by @ivan-velasco in #772
  • feat: improve verbose flag behavior by @yesnault in #675
  • feat: removed result from testcase variables and removed errors warning and info from non verbose runs by @kilianpaquier in #617
  • feat: removed result from testcase variables and removed errors warning and info from non verbose runs by @kilianpaquier in #670
  • feat: ShouldMatchRegex by @fokion in #674
  • feat: show latest assertions errors in case of retry + added number of retries when success by @kilianpaquier in #616
  • feat: VENOM_PRESERVE_CASE default ON by @yesnault in #570
  • feat: xmlreport test id by @ivan-velasco in #688
  • feat(executor/dbfixtures): add support for sqlite3 to dbfixtures executor by @etandel in #613
  • feat(executor/exec): 'command' property by @yesnault in #782
  • feat(executor/exec): add a 'stdin' attribute by @cdevienne in #767
  • feat(executor/http): allow specifying query parameters by @guoweis-work in #629
  • feat(executor/http): feature/xml systemout by @ivan-velasco in #720
  • feat(executor/kafka) Added an option to allow self-signed certs by @Armadindon in #648
  • feat(executor/kafka): add kafka headers for producer by @rhzs in #710
  • feat(executor/mongo): add "loadFixtures" action by @Thiht in #653
  • feat(executor/mongo): add mongo executor by @Thiht in #601
  • fix: avoid nil pointer dereference in ShouldContain assertions by @iamleot in #615
  • fix: env variables with equal sign by @bramca in #721
  • fix: godump formatter by @yesnault in #709
  • fix: html output color status by @yesnault in #758
  • fix: integration tests by @yesnault in #749
  • fix: minor improvements by @fsamin in #744
  • fix: output dump file by @yesnault in #729
  • fix: panic on failure by @yesnault in #731
  • fix: parse yaml files in the readfile by @fokion in #689
  • fix: prevent err EOF if .venomrc is all commented or empty by @yesnault in #678
  • fix: replace backslashes with forward slashes for Windows by @ivan-velasco in #753
  • fix: revert #617 by @yesnault in #636
  • fix: secrets in dump.json and venom.log files by @yesnault in #715
  • fix: string interpolation by @fokion in #656
  • fix: TestSuiteXML is missing the Time property by @ivan-velasco in #627
  • fix(executor/exec): panic on cmd.Start error by @fehrnah in #623
  • fix(executor/http): preserve BodyFile absolute path by @fsamin in #635
  • fix(testsuite): when "stop_on_failure" is enabled the skip test cases did not get counted and reported by @ivan-velasco in #771
  • refactor(executor): rewrite whole imap executor to add new commands by @tomadele in #611
  • refactor(executor/web): Refactoring by @kevinramage in #551
  • chore(deps): bump go.mod by @yesnault in #730
  • chore(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0 by @dependabot in #761
  • chore(deps): bump google.golang.org/grpc from 1.53.0 to 1.56.3 by @dependabot in #739
  • chore(deps): bump google.golang.org/grpc from 1.53.0 to 1.56.3 in /tests/grpc by @dependabot in #738
  • chore(deps): bump google.golang.org/protobuf from 1.29.0 to 1.29.1 by @dependabot in #647
  • chore(deps): bump google.golang.org/protobuf from 1.29.0 to 1.29.1 in /tests/grpc by @dependabot in #646
  • chore(deps): bump libs by @yesnault in #644
  • chore(deps): bump some libs by @yesnault in #781

New Contributors

Full Changelog: v1.1.0...v1.2.0