HomePhorge

test: add hooks to test scripts

Description

test: add hooks to test scripts

Now you can use before before_each after and after_each. Each of
the hooks will run in the context of the test file.

before This will run once before all the tests
before_each This will run before each of the test functions
after Will run once after all the test functions
after_each Will run after each one of the test functions

Multiple functions can be defined for each hook by calling the
respective function again.

Details

Provenance
AdeAttwoodAuthored on Aug 6 2022, 1:16 PM
Parents
R1:df80d5e83720: ci: add test and build actions
Branches
Unknown
Tags
Unknown

Event Timeline