Open
Description
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)