Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rove:run-test does not run :before and :after hooks #72

Open
gpapadok opened this issue Nov 26, 2024 · 0 comments
Open

rove:run-test does not run :before and :after hooks #72

gpapadok opened this issue Nov 26, 2024 · 0 comments

Comments

@gpapadok
Copy link

When I define :before and :after hooks with defhook in a test package and do:

(rove:run-test 'some-test)

Rove omits the hooks. This causes the test to fail as it depends on the hooks to create a suitable environment for it.

Since hooks are run before and after every individual test, the natural behavior of rove:run-test should be to also run these hooks.

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

No branches or pull requests

1 participant