ovh / venom

🐍 Manage and run your integration tests with efficiency - Venom run executors (script, HTTP Request, web, imap, etc... ) and assertions
Apache License 2.0
1.03k stars 143 forks source link

[bug] Info for custom executors hidden for verbose runs in 1.2.0.beta2 #699

Open miklosbagi opened 1 year ago

miklosbagi commented 1 year ago

Howdy,

I'm going through upgrading our tests to latest venom, and noticed that info is now disregarded for user defined custom executors.

Example with venom 1.1.0:

        • exec PASS
        • custom_executor PASS
        • sql PASS
          [info] Generating a UUID
          [info]   [venom-custom_executor] Executing custom_executor request to localhost:9999 
          [info] Fetching SQL data

Example with venom 1.2.0.beta2:

        • exec PASS
        • custom_executor PASS
        • sql PASS
          [info] Generating a UUID
          [info] Fetching SQL data

Notice that the custom executor is missing (the one indented in first). Example for the custom executor code in lib/:

executor: custom_executor
input:
  tag: "  [venom-custom_executor]"

steps:
- script: echo
  info: "{{.input.tag}}  Executing custom_executor request to localhost:9999"
  assertions:
  - result.code ShouldEqual 0

This has been introduced by this change in #617, where the intention is to hide this from non-verbose runs.

Can we have that back on, please? :)

Thanks, mb

ivan-velasco commented 11 months ago

@yesnault any update when we will get this into a beta release?

yesnault commented 1 month ago

info from user executor are not displayed - reopened. (release v1.2.0)