Fork me on GitHub
#cider
<
2016-10-11
>
xiongtx07:10:10

How do you run all tests in cider-nrepl?

xiongtx07:10:45

lein test :all runs only a few tests:

lein test cider-nrepl.plugin-test

lein test cider.nrepl.test-session

lein test cider.nrepl.test-transport

lein test cider.test-ns.first-test-ns

lein test cider.test-ns.second-test-ns

lein test cider.test-ns.third-test-ns

Ran 2 tests containing 16 assertions.
0 failures, 0 errors.

codemartin07:10:31

@xiongtx Are you sure your test files are formatted correctly? If you publish one here I can help you

xiongtx07:10:57

I just cloned the repo and ran lein test :all in the project dir

dpsutton13:10:30

@xiongtx lein test with-profile +test-clj

dpsutton13:10:51

look in the project.clj file and you'll see a bunch of different profiles and they all extend their notion of the test directories

dpsutton13:10:30

i've taken to running the individual file's tests since things get weird in cider when you load nrepl in a running copy of nrepl

dpsutton14:10:47

and since cider doesn't really support testing with profiles

xiongtx16:10:16

@dpsutton Thanks, I’ll take a look later

noprompt20:10:33

how do i get C-c C-l to work with conditional reading?