Midje icon indicating copy to clipboard operation
Midje copied to clipboard

Configurable output file location for midje.emission.plugins.junit

Open ghost opened this issue 8 years ago • 2 comments

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.

ghost avatar Aug 15 '16 18:08 ghost

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.

marick avatar Aug 21 '16 23:08 marick

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.

pershyn avatar Feb 03 '17 12:02 pershyn