Midje
Midje copied to clipboard
Configurable output file location for midje.emission.plugins.junit
It would be great if midje.emission.plugins.junit
would allow me to configure the output file location, which is currently hard coded in make-report-filename
.
The whole emissions namespace is under-thought. I took a stab at supporting junit output format, knowing almost nothing about it, but I think I did a poor job at it. Any pull requests you have would be accepted, given that (almost?) everyone uses the default output.
The target path can be redefined in leiningen. In my opinion, very rare use-case though.
:target-path "/tmp/target/%s"
:clean-targets ^{:protect false} ["/tmp/target/%s"]
Would be nice to take this :target-path
from project.clj
as default, since the test run will fail otherwise, because ./target
folder does not exists.
I am looking forward to try this out and make a MR.