Skip to content

Support @skipif directive #116

@dbarnett

Description

@dbarnett

Sometimes a section of vroom testing only makes sense to run in certain conditions (particular versions of vim etc.). It would be useful to have a @skipif CONDITION directive that could evaluate a vimscript expression and conditionally skip some vroom lines.

Example:

@skipif !has('job')
:call job_start(...)
:echomsg xyz
~ SOME EXPECTED OUTPUT
@endskipif

Then this could note in the test summary output that it passed but with some skipped portions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions