-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JUnit formatter doesn't play nice with test.check #17
Comments
How is test.check printing these things? A cursory look at the source code suggests its doing so via the test reporter, so couldn't we add methods for the extra events that test.check generates? |
That we could. I was just looking into adding something to my own codebase, but ultimately maybe that belongs in eftest? |
It looks like these are the events emitted by test.check:
|
In theory we could extend the current Eftest reporter multimethods with support for the extra test.check events. For the junit reporter, presumably we just want to ignore them. |
I guess so. If you're using For the other multimethods you refer to, I'm not sure. I always use |
For now, what about ignoring the reports for the junit reporter, and just deferring to the default for the others (which should require no change?). That would solve the immediate problem of bad data in the junit output. |
Whoops! Sorry. I'll add the test.check events to the JUnit reported via GitHub. |
Hey James,
Because both the JUnit formatter and test.check print to test out you end up with hash maps in the XML output.
Maybe logging to a file will work from the REPL, but there's not option to log to a file when configuring lein-eftest as far as I can see.
I can maybe throw together a PR this week if you have a preferred solution in mind.
The text was updated successfully, but these errors were encountered: