-
Notifications
You must be signed in to change notification settings - Fork 176
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
cider-test-run-ns-tests
not respecting test-ns-hook
#680
Comments
Looking into this in more detail, this message seems to be going via |
Oh - HTH! |
Thanks for the detailed report! If you'd like to take a stab at solving this yourself that'd be great. Seems the solution would be pretty-straightforward. |
Hey @bbatsov, thanks for getting back to me :) Have had a bit of a bash at this today, struggling a little with the semantics. I was aiming for the same semantics as I might be focusing in the wrong area, but I also seem to be running into Orchard's query namespace, working against the Cheers, James |
I'd be happy to make this consistent.
Yeah, absolutely. |
Hey @bbatsov, cheers! I'm afraid it might be a while until I get back around to this one - we've recently had a baby so don't have a lot of spare brain cycles at the moment 😄 Thankfully the workaround in the commit above is fairly straightforward for anybody else stumbling on this issue, and the fix doesn't seem too involved - maybe someone else reading this might be able to pick up the baton :) James |
No rush!
Congratulations! 🎉 🎈 🍾 |
thanks! 🙏 |
Since I'm working with |
Hey @bbatsov et al, hope you're all keeping well :)
Let me know if more information would be helpful, think this is my first CIDER bug report :)
Cheers,
James
Use the template below when reporting bugs. Please, make sure that you're
running the latest stable release or the latest snapshot/pre-release of
cider-nrepl
and that the problem you're reporting hasn't been reported (andpotentially fixed) already.
Expected behavior
If the namespace contains a
test-ns-hook
function,cider-test-run-ns-tests
should call this instead of directly calling whatever test functions the namespace may containActual behavior
It doesn't - in my case (because the namespace has no concrete tests) it fails with 'No assertions (or tests) were run. Did you forget to use
is
in your tests?'Steps to reproduce the problem
Calling
(clojure.test/test-ns 'foo.bar-test)
directly does check the(= 1 1)
assertion.Environment & Version information
Spacemacs
develop
branch[cider/cider-nrepl "0.25.3"]
Operating system
Arch Linux
The text was updated successfully, but these errors were encountered: