-
-
Notifications
You must be signed in to change notification settings - Fork 645
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
Feature Request: Run all tests #1226
Comments
|
Sorry if I was unclear, I want to run all tests for all namespaces. Equivalent to |
Guess we can cook something like this, unfortunately it will also require UI changes (multiple ns support). |
👍 |
I'm including this in the feature list for for milestone 0.11. This is the feature I'm missing the most atm. When this is tackled |
Btw, I hope you're also planning to work on this, as 0.11 will like be release in February and I doubt I'll work on anything significant until then. |
Yeah, I was planning on taking this one the next time I've some time for CIDER. This is unlikely to be until the second half of February, though, so with that release schedule I suppose it might not make the cut. |
This should be pretty straightforward to implement. One question: how would the list of namespaces to be tested be determined? |
I think the simplest way would be to take the first segment of whatever the current namespace is test all namespaces that share it. Alternative, with a prefix argument the user could supply a namespace prefix manually. |
Can't we just loop over The previous solution might loop over a lot of namespaces, but we could use tools.namespace's |
I'd warn against using Using
|
Personally, I prefer the idea of taking all namespaces with the same initial prefix as the current one. For instance, if I invoked the command in Using As for loading files first. I don't think |
Playing devil's advocate for a moment, I imagine most people will expect replication of |
We can always have 2 commands or a switch. Generally I would like to load some namespaces magically if I hadn't loaded them explicitly myself (but I'm pretty sure others would like this - as you said this is what |
Yep. That makes sense. Unless someone else is itching to get at this feature request, I'll try to give it a go in the next week or so. |
Sounds great! :-) |
While
C-c ,
runs either the test for the corresponding namespace or the last test namespace, it would be great if there was a hot-key to run all tests within cider-test (perhaps usingC-c <
). Thoughts?That being said, cider has been great to use. Thanks a ton for all the hard work! 😄
The text was updated successfully, but these errors were encountered: