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

deftest on symbols from the parent packages #5

Open
jcguu95 opened this issue Apr 30, 2024 · 0 comments
Open

deftest on symbols from the parent packages #5

jcguu95 opened this issue Apr 30, 2024 · 0 comments

Comments

@jcguu95
Copy link

jcguu95 commented Apr 30, 2024

(deftest x [..]) registers a test in the symbol x. However, if the symbol x in the current package Y is obtained (by use) from another package X, then running #'test against the current package Y doesn't test x. Is this intended?

A concrete example is ht->pairs in rutils/pair-test. That symbol was originally from rtl, so (test :package (find-package "rutils.test")) skips the test ht->pairs.

@jcguu95 jcguu95 changed the title deftest on symbols that are in the parent packages deftest on symbols from the parent packages Apr 30, 2024
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