lein-midje icon indicating copy to clipboard operation
lein-midje copied to clipboard

Status queries against lein midje :autotest

Open ghost opened this issue 9 years ago • 1 comments

I imagine a server mode for lein midje :autotest where it would report the last status of the tests, e.g. using a HTTP API returning JSON objects:

GET("/api/v1/tests")
=> [{:namespace 'name.space}]
GET("/api/v1/tests/:namespace/status")
=> {:namespace 'name.space
    :filename "/full/path"
    :status :failure/:success/...
    :message "Detailed failure information from the test engine"
    :coverage 0.1234}

ghost avatar Aug 16 '16 11:08 ghost

I like the idea of a server mode. I'm now moving from Clojure to Elixir/Erlang, have naturally been thinking of testing extensions, and the idea of a test server fits naturally into that.

But I do not expect to do more work on lein-midej.

marick avatar Aug 19 '16 23:08 marick