Skip to content
This repository has been archived by the owner on Feb 1, 2018. It is now read-only.

Adding in the ability to specify --junit and have the build produce junit xml output #95

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

yairgo
Copy link

@yairgo yairgo commented Mar 10, 2015

Let me know what you think about this. The branch is pulled off of 2.1.0.rc.2 because there are 2 failing tests on master.

When I first got into the code there was a lot of magic going on. I could not tell what methods were being called on the "formatters" on purpose and what on accident.

With the way I implemented it I added a generic method_missing method to the fanout_formatter at first but after running the bwoken tests on a device I started getting errors that didn't make sense to me.

I then changed it so that the fanout formatter only receives messages that it is currently forwarding on, and the formatter can decide whether it wants to implement the method or not.

It would be very simple to do this for XUnit output as well if someone still wants that done.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant