testing

Testing tools, testing philosophy & methodology...
aron 2019-02-13T15:44:20.003900Z

I'm trying to use eftest and struggling to find my tests. Wondering if someone could give me a clue. With clojure.test I can do this: (run-all-tests #"foo\..*")

aron 2019-02-13T15:45:13.004700Z

With eftest I can make a specific namespace work: (find-tests 'foo.bar) but I'm struggling to find all the tests under the foo namespace

aron 2019-02-13T15:45:32.005Z

This doesn't turn up anything: (find-tests "foo")

aron 2019-02-13T15:48:27.005500Z

Also, the main reason I'm interested in eftest is that it's pretty, so I'm open to other suggestions. 🙂

aron 2019-02-13T15:56:05.006300Z

whoa, this turns up stuff: (find-tests "webapps/ROOT/WEB-INF/classes/foo") (this is a venerable server running in a tomcat container)

seancorfield 2019-02-13T16:57:32.006800Z

Are you just looking for pretty test output?

seancorfield 2019-02-13T16:58:00.007400Z

Have you tried Paul Stadig's humane test output library?

aron 2019-02-13T17:19:23.008Z

@seancorfield I'll look into it, thanks

aron 2019-02-13T17:20:01.008400Z

eftest keeps killing my nrepl anyway 😕