Skip to content

deftest on symbols from the parent packages #5

@jcguu95

Description

@jcguu95

(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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions