What happens, if you try to use this macro that you've used while in another ns, is that the macro expands out to code which contains a reference to stub-fn which is a Conjure function. Instead this needs to expand out to something including org.rathore.amit.conjure.core/stub-fn. Then the namespace which defines unit-test just has to require org.rathore.amit.conjure.core.
Currently this fails to work:
What happens, if you try to use this macro that you've
use
d while in another ns, is that the macro expands out to code which contains a reference tostub-fn
which is a Conjure function. Instead this needs to expand out to something includingorg.rathore.amit.conjure.core/stub-fn
. Then the namespace which definesunit-test
just has to require org.rathore.amit.conjure.core.