-
Notifications
You must be signed in to change notification settings - Fork 12
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
Do not provide the test-helper feature #18
Comments
Thanks! |
Uh, unfortunately it looks like you'll have to use |
I've I remember correctly, the safest way looks something like: (load (expand-file-name "test-helper.el"
(file-name-directory
(or load-file-name buffer-file-name)))) |
CeleritasCelery
added a commit
that referenced
this issue
Jun 30, 2024
CeleritasCelery
added a commit
that referenced
this issue
Jun 30, 2024
CeleritasCelery
added a commit
that referenced
this issue
Jun 30, 2024
Thanks. I fat finger the keys and push it to the main branch instead of a PR branch I could run CI against. |
Thanks again! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
test-helper.el
isn't a library intended to be loaded withrequire
. Instead it is loaded withload
byert-runner
itself and that does not userequire
to do so.Because of that, it is confusing to
provide
a feature. It also wouldn't be possible to userequire
to reliably loadtest-helper
because that might, depending on the order ofload-path
, load thetest-helper.el
of another package.There aren't many packages left that have that defect but that's only because I got them to fix this issue. It would be great if you could fix it in your package as well.
This is also discussed at rejeep/ert-runner.el#38.
The text was updated successfully, but these errors were encountered: