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

cider.nrepl.middleware.test does not bind clojure.test/*report-counters* #686

Open
vemv opened this issue Jan 14, 2021 · 4 comments
Open

Comments

@vemv
Copy link
Member

vemv commented Jan 14, 2021

Brief

I have the impression that test runners are expected to bind clojure.test/*report-counters* during test execution. It looks like it should be initialized to clojure.test/*initial-report-counters*.

cider.nrepl.middleware.test doesn't appear to have this logic.

Why this is a problem

cider-nrepl version

This repo @ master

@bbatsov
Copy link
Member

bbatsov commented Feb 13, 2021

Likely an oversight on our part. PR welcome!

@bbatsov
Copy link
Member

bbatsov commented Feb 13, 2021

@jeffvalk wrote the test middleware, so he might have more to say on the subject.

@saskenuba
Copy link

Any thoughts on this? This is exactly an issue that I have on some projects.
I have some tests macros that juggle around report-counters and expects it to be valid, and when running tests with cider they don't work.

@vemv
Copy link
Member Author

vemv commented Jun 13, 2024

I appreciate that you found the right issue!

I could give it a try myself but can't strongly promise anything as time is quite scarce for me.

Might be a good "first PR".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants