Fork me on GitHub
#clojure
<
2015-06-20
>
arrdem05:06:32

Is there a hack for running clojure.test until the first failure?

arrdem05:06:38

I'd like to do something along the lines of "lein auto test", but stop at the first failure since I'm in the debugging phase of things

danielcompton06:06:54

@arrdem: is the root problem that tests are slow?

arrdem06:06:09

danielcompton: nope just trying to limit the noise level of test output

danielcompton06:06:44

As a diversion, bolth is awesome for fast testing

danielcompton06:06:40

Cursive has good test integration to reduce test noise :)

niwinz06:06:28

@arrdem: As far as I know you can't do it. As workaround you can execute the lein test :only ... so limiting to the concrete test.

bg06:06:06

anyone here used Parkour for writing map-reduce jobs?

agile_geek07:06:48

@arrdem if you run your tests from REPL u can just use

(run-tests 'specific-ns)
to only execute tests for ns you're interested in.

agile_geek07:06:52

Personally, I haven’t completely let go of my TDD habits so I tend to only have to deal with one or two failures at a time so noise from tests is not too bad.

borkdude15:06:53

how can you get Dash docset for core.async?

borkdude15:06:12

is that possible?

jrychter16:06:17

@borkdude: oh, I would kill for core.async docs in Dash. I think in general the Clojure docset could be more extensive and get some 1.7 love. (and no, I can't work on this right now)

agile_geek17:06:03

@borkdude: I even use cloverage and lint plugins like eastwood, check, kibit and bikeshed on my ‘toy’ projects.

agile_geek17:06:39

I think it’s habit from insisting dev teams use similar tools in Java world.

akiva23:06:27

Just came across the fact that instance? doesn’t seem to work with records. It always returns false. Has anyone else come across this? Only thing DDG came up with was a discussion from 2012 about AOT and that it might be specific to the map->Record constructor but nothing conclusive.