marick / lein-midje

Leiningen plugin for Midje
MIT License
78 stars 29 forks source link

Status queries against lein midje :autotest #61

Open ghost opened 7 years ago

ghost commented 7 years ago

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}
marick commented 7 years ago

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.