Skip to content

Run code before and after all tests

Latest
Compare
Choose a tag to compare
@lazyatom lazyatom released this 05 Feb 13:30
· 46 commits to main since this release

Allow running code before or after all tests have run.

This can be done using the Kintama.on_start and Kintama.on_finish hooks, which will add start and finish blocks to the default context.

Note that this might not work as expected if you are explicitly grabbing Context instances and running them outside of the default runners.