venom icon indicating copy to clipboard operation
venom copied to clipboard

feat request: `skip` at step level

Open lowlighter opened this issue 3 years ago • 0 comments

If I'm not mistaken it's not possible to use skip at step level, it would be nice to be able to at least skip some tests in custom executors.

The main objective of custom executors (I think) is to reduce and factorize tests description, but sometimes you just need to skip out a step in a few case but it seems overkill to duplicate all steps and create another executor just to achieve the same

Example:

executor: test
input: 
  script1: true
  script2: true
steps:
  - type: exec
    script: script1
    skip:
      - {{.input.script1}} SouldEqual true
  - type: exec
    script: script2
    skip:
      - {{.input.script2}} SouldEqual true

lowlighter avatar Jan 11 '22 21:01 lowlighter