Pavel Yudin

Results 4 comments of Pavel Yudin

I know that history. This decision was made by @knazarov cause forcing of right practice is a good thing.

No, I can't, 'cause I want run before and after handlers on each file, not on entire suite.

Yep. file1.lua ``` local t = require('luatest') t.before_file(function() end) t.after_file(function() end) local g1 = t.group('g1') g1.before_all(function() print('g1: before_all') end) g1.after_all(function() print('g1: after_all') end) g1.before_each(function() print('g1: before_each') end) g1.after_each(function() print('g1: after_each')...

I want to exec different prepare scenarios on the each file. If I run all suite, then I expect next output: ``` before_suite before_file1 g1.before_all ... g1.after_all g2.before_all ... g2.after_all...