Skip to content

test: refactor hooks for luatest API change#457

Merged
locker merged 1 commit into
masterfrom
mandesero/refactoring-test-hooks
Dec 2, 2025
Merged

test: refactor hooks for luatest API change#457
locker merged 1 commit into
masterfrom
mandesero/refactoring-test-hooks

Conversation

@mandesero
Copy link
Copy Markdown
Contributor

Luatest now forbids direct hook assignment, so tests using g.before_all = fn, g.after_all = fn, etc. must be rewritten to the call-style API. This patch updates them accordingly.

Follow-up tarantool/tarantool#8187
Follow-up tarantool/luatest#390

Luatest now forbids direct hook assignment, so tests using
`g.before_all = fn`, `g.after_all = fn`, etc. must be rewritten to the
call-style API. This patch updates them accordingly.

Follow-up tarantool/tarantool#8187
Follow-up tarantool/luatest#390
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 62.585% (-0.04%) from 62.625%
when pulling 9f415a7 on mandesero/refactoring-test-hooks
into aaba736 on master.

@locker locker merged commit c77851d into master Dec 2, 2025
13 checks passed
@locker locker deleted the mandesero/refactoring-test-hooks branch December 2, 2025 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants