Skip to content

cider test reporting errors under specific conditions #1379

@RadicalZephyr

Description

@RadicalZephyr

Currently, while cider is running tests, if an error is thrown from inside a macro-generated test, but not by an assertion (i.e. an is), CIDER errors with

error in process filter: End of buffer [2 times]

It's a fairly edge case, but it's important to me right now. I have a minimal reproduction repo available.

I spent some time trying to chase this down myself, but I just got lost in the bowels of CIDER. The ideal resolution to this would be to find all the errors correctly, but it would be a big win if CIDER didn't just totally give up, and still printed the errors that were not directly inside of generated tests.

Tested under:

Linux Mint x64 17.2
Emacs 24.5.1
CIDER 0.10.0snapshot (package: 20151020.646) 
(Java 1.8.0_60, Clojure 1.7.0, nREPL 0.2.11)

and

Mac OS X 10.9.5
Emacs 24.5.1
CIDER 0.10.0snapshot (package: 20151020.646) 
(Java 1.8.0_45, Clojure 1.7.0, nREPL 0.2.11)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions