-
Notifications
You must be signed in to change notification settings - Fork 128
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
Implement the clojure.test protocol #356
Comments
I'm happy to entertain pull requests. But note: clojure.test is a least-common-denominator model for testing, equivalent to the original Junit. Should Cider restrict users to that? - forcing all testing frameworks into that mold - or should it actually engage with the differing approaches of other frameworks? That is: where were Midje users when |
Sorry for the necropost, but as an user of both Midje and Cider, this feature would really benefit me. |
Hey @PabloReszczynski, always good to hear from users regarding what would be useful to them. I briefly looked into this in the past and I didn't see a clear path forward; something about needing to extend That said, I'll try and get some time soon to dive into this again and re-assess how this might be implemented. |
The last couple of times I looked, I concluded that clojure.test model (later codified in clojure.test) couldn't represent Midje tests. The opposite I think is true. That would suggest expanding the protocol to be a superset, rather than a strict subset, of the available testing tools. |
I guess I saw this pretty late, but for the sake of completeness let me answer. We never intended to restrict people to I certainly would love to see CIDER have a native integration with every test library that exists, but that's a lot of work as it stands, and our resources are tiny. |
At the first clojure conj, I proposed that the three (at the time) test frameworks implement some commonality. Found no interest. I think that was a missed opportunity. However, to be honest: communities that have supported more than one "official" framework don't seem to have benefited all that much. It's better when the dominant framework absorbs the others. It's unfortunate that clojure.test was so minimal compared to what other languages built on. |
Basically this would allow tools like
cider-test
to run midje tests, which would benefit a lot of Clojure developers. More details - https://github.com/clojure-emacs/cider#using-cider-test-with-alternative-test-libraries and clojure-emacs/cider#1606The text was updated successfully, but these errors were encountered: