Skip to content

Let before_test and after_test to set hooks for several tests  #185

Open
@Steap2448

Description

@Steap2448

Sometimes there is a need to set one hook for several tests. As a result you have to write before_test and after_test with the same function for each test individually and it produces a lot of unnecessary code.

It would be nice to have an ability to do it in one command. Let's allow before_test and after_test to set one hook for several tests in such way:

g.before_test({'test_1, test_2'}, function() ... end)

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureA new functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions