-
Notifications
You must be signed in to change notification settings - Fork 50
Change 'Run all tests' to only run those defined in the current project #145
base: master
Are you sure you want to change the base?
Conversation
This is a neat change. I made a similar change at the same time since I didn't know you were working it as well. I'll try out your additional changes. |
The tests thing seems to work but I don't quite understand "how it works" so that makes me nervous to integrate it. Can you explain how it's limiting the tests to just the current project? |
Also I pushed a new commit which fixes a minor issue; if a namespace had no other namespace required, then it also wasn't present in the dependencies of the tracker. |
I was just wondering ... wouldn't it be easier to just pass a regular expression to the According to the documentation, that's the official way to limit the tests: http://clojuredocs.org/clojure.test/run-all-tests |
Sure, but:
|
proto-repl already scan your file to extract its ns for evaluation. I don't think it should be that difficult to find the root-ns, considering that you just have to split the string by
I have never seen that but I guess it is possible
Is that really possible? if you both use the same ns wouldn't you get in an egg/chicken dilemma when writing your project.clj?
Absolutely One last thing to mention is that |
If you have multiple source directories, I think it is possible
By possible I meant i'm not sure if it's impossible :) As for the last point, the current |
No description provided.