Fork me on GitHub
#cursive
<
2015-10-26
>
thedavidmeister11:10:20

hey, any reason why emacs tab would not work?

simax9912:10:49

The update plugin in IntelliJ messed up again. Where can I download the latest cursive plugin (0.1.67) so I can install it manually?

tord12:10:26

See the "Manually installing Cursive" section here: https://cursiveclojure.com/userguide/

sashton12:10:32

is there a way to get cursive test runners to use 'pjstadig/humane-test-output'? The only output i see from 'run tests in current NS in REPL' is:

Loading test/clj/handler_test.clj... done
Running handler-test/my-test
Ran 1 test containing 1 assertion.
1 failure, 0 errors.

sashton12:10:06

but when i use (run-tests) in the same NS, I see the expected output:

FAIL in (my-test) (handler_test.clj:103)
expected: [1 2]
  actual: [2 3]
    diff: - [1 2]
          + [2 3]

sashton12:10:08

my project.clj:

:dependencies [[pjstadig/humane-test-output "0.7.0"]]
:injections [(require 'pjstadig.humane-test-output)
                                (pjstadig.humane-test-output/activate!)]

simax9913:10:04

@tord Thanks for the link. Plugin now working correctly again.

micah15:10:38

Upgraded to Cursive 0.1.67 this morning. When I run a lein task, it creates a background task “Calculating task classpath” that never ends. Never gets to my task 😢.

micah15:10:14

Anyone seen this and know what’s wrong?

ricardo15:10:58

I have not @micah, sorry.

micah16:10:58

Thanks anyway @ricardo

micah17:10:40

ALT-UP (form selection) seems broken too

micah17:10:26

Um… nm. My key bindings had been changed.

cfleming18:10:32

@micah: Any exceptions in your log when running that task?

micah18:10:56

@cfleming: nope. I’m afraid not.

cfleming18:10:12

What’s the task you’re running?

micah18:10:15

It’s only when I run the ‘spec’ task which is a plugin.

cfleming18:10:42

@micah: is there an OSS project I can try to reproduce with? specl itself?

micah18:10:47

the ‘pdo’ plugin doesn’t run inside cursive tasks either… maybe it’s plugins that are the problem.

micah18:10:52

I can make one…

cfleming18:10:02

That would be great, thanks.

cfleming18:10:23

Plugins should work, I’ve been testing with a bunch of them, but the new integration is a big change so perhaps these do something differently.

micah18:10:47

standby… am preparing OSS project with .idea checked in.

cfleming18:10:59

I’ve got to go get the family ready, but if you could send a repro project I’ll look at it this morning.

cfleming18:10:06

Perfect, thanks.

micah19:10:01

No rush… found a workaround.

micah19:10:44

That repo should be ready to go. I did a fresh checkout and confirmed it exhibits the problems.

micah19:10:47

spec (locked) - starts the “Calculating task classpath” background taks that never ends.

micah19:10:33

spec (blank) - completes but doesn’t show any output. It should.

micah19:10:02

spec (unrolled - working) - is my workaround.

cfleming23:10:41

@sashton: Normally for running tests interactively, the best thing to do is to click on the failure icon in the gutter, and Cursive will show a visual diff of the expected and actual values.

cfleming23:10:11

I’ve heard that it may not interact well with humane-test-output though, so if you find that doesn’t work, try disabling that.

cfleming23:10:51

@micah: Thanks, I’ll give that a go