-
Notifications
You must be signed in to change notification settings - Fork 111
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
[Fix #384] Add cljr-auto-sort-project-dependencies #385
Conversation
Cool. This looks good! I'd like to have a test for this, so I'll hold off a little and see what comes of that cask issue. |
The Cask issue has disappeared. You can therefore expect some tests to be added here once I get free time. |
Great 👍 |
Of course, we're still using my fork until [1] and [2] are merged. [1]: clojure-emacs/clj-refactor.el#392 [2]: clojure-emacs/clj-refactor.el#385
Ping @raxod502 |
Indeed, I'm sorry I still haven't got to this. The only time I can really be sure I will have time is at the end of the semester during winter break. It's on my shortlist. |
Sigh. Just when I have some time to work on this, Cask produces more trouble for me: cask/cask#418 Nowadays, I'm experienced enough to work around the problem, so this shouldn't prevent me from adding tests to this pull request. |
05479fe
to
f36f405
Compare
I added some preliminary tests. For some reason, adding them causes 54 unrelated tests to fail. This boggles my mind. Any idea what's up? Also, is there any good way to debug the test suite? It seems pretty impenetrable to me, especially given that |
I don't have any good tips in dealing with ecukes. It's been a huge time sink for me over the years too. |
Why not just kill it?
…On Fri, Mar 16, 2018 at 15:14 Lars Andersen ***@***.***> wrote:
I don't have any good tips in dealing with ecukes. It's been a huge time
sink for me over the years too.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#385 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAGVyjDZVsFOOtWSF2QgiPN51Ye4G21Iks5te3RogaJpZM4Ob0W5>
.
|
They still provide value, even if they are a bitch to deal with when something goes wrong, and nobody is interested in re-writing the test suite. |
@expez What do you recommend? I can't proceed farther with the tests without the ability to debug things, unfortunately. |
@raxod502 The first test that's failing is the one for the new feature. It fails with The ecukes tests are pretty fragile, so I'm guessing that if you fix the first failing test all the others will fall in line. I can't remember what works best for debugging, but you can do side-effecting stuff to debug (e.g. write to a temp file with checkpoints to close in on the offending line) or IIRC you can throw errors and have them show up in the ecukes output. Sorry about the painful test suite :( |
I finally got some time to look at this, only to find that the test suite fails on the latest See tests.log. I can't debug this test if other ones are failing. |
Ping. |
Build has been fixed |
@raxod502 Ping :-) |
Thanks for the reminder. I have since started the fall semester at Harvey Mudd College, and likely won't have time to work on this for at least a few months, unfortunately. It remains on my to-do list, however. |
Any chance for this? :) |
Sorry, I've long since stopped using Clojure and |
cljr-auto-sort-project-dependencies
, defaults to nil.cljr--maybe-sort-project-dependencies
.cljr-add-project-dependency
.cask exec emacs -batch -Q -L . -eval "(progn (setq byte-compile-error-on-warn t) (batch-byte-compile))" clj-refactor.el
)./run-tests.sh
)cljr-auto-sort-ns
was not documented there