ovh / venom

🐍 Manage and run your integration tests with efficiency - Venom run executors (script, HTTP Request, web, imap, etc... ) and assertions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

miklosbagi opened this issue · comments

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

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

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