lunarmodules / busted

Elegant Lua unit testing.
https://lunarmodules.github.io/busted/
MIT License
1.38k stars 184 forks source link

Make it easier to run a global before_each before all before_each blocks or a global after_each after all after_each blocks #736

Closed zeertzjq closed 4 months ago

zeertzjq commented 4 months ago

Currently, it is easy to achieve a global before_each after all before_each blocks using

busted.subscribe({'test', 'start'}, ...)
zeertzjq commented 4 months ago

Sorry, accidentally pressed Ctrl+Enter halfway writing issue #737.