leahneukirchen/bacon

[Feature] JUnit XML output support for integration with Jenkins-CI

Closed this issue · 4 comments

As a RubyMotion user I am unable to set up continuous integration properly.
Jenkins CI is capable of building "TestsLaunched( BuildNumber )" charts for JUnit style output. With Bacon I don't even get a proper non-zero exit code if some tests are failing.

Bacon.summary_on_exit will exit 1 when tests failed.

Additional formatters can easily be distributed in seperate projects. Jenkins apparently has a TAP plugin, so you could use Bacon TAP output.

Thank you. Sounds like a plan.
I think you should add a CI section to your "Readme" file.

I've introduced a spec that always fails
https://gist.github.com/4488254

"rake spec output=tap" reports the error as expected. However, I receive a malloc() error below.
https://gist.github.com/4488267

Not sure whether its origin is Bacon or RubyMotion (or I should spend more time RTFM).

P.S. Sorry for a stupid question. I'm an ObjectiveC coder and a complete newbie in the ruby world.

Additional formatters can easily be distributed in seperate projects.

Where can I find example source code for a custom formatter?
Google search does not help a lot.