# xUnit-style output from test/unit?

**URL:** <https://rubytalk.org/t/xunit-style-output-from-test-unit/49134>\
**Category:** ruby-talk\
**Created:** [17 September 2008 15:40 UTC](https://rubytalk.org/t/xunit-style-output-from-test-unit/49134 "2008-09-17T15:40:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeff](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@Jeff](https://rubytalk.org/u/Jeff)\
**Post date:** [17 September 2008 15:40 UTC](https://rubytalk.org/t/xunit-style-output-from-test-unit/49134/1 "2008-09-17T15:40:49Z")

</div>

Anyone know if there's a way to transform test/unit output into xUnit  
XML output? I need to emit something that our continuous integration  
system (Hudson) can understand.

Google hasn't been my friend in this regard... just some old ruby  
projects that aren't maintained anymore and that don't really work.

Thanks!  
Jeff

---

<div class="post-metadata">

**Author:** ![Daniel\_Berger2](https://yyz1.discourse-cdn.com/flex029/user_avatar/rubytalk.org/daniel_berger2/32/2243_2.png) [@Daniel\_Berger2](https://rubytalk.org/u/Daniel_Berger2)\
**Post date:** [17 September 2008 16:03 UTC](https://rubytalk.org/t/xunit-style-output-from-test-unit/49134/2 "2008-09-17T16:03:35Z")

</div>

test-unit-ex looks like it supports this:

[http://rubyforge.org/projects/test-unit-ext/](http://rubyforge.org/projects/test-unit-ext/)  
[http://test-unit-ext.rubyforge.org/readme.html](http://test-unit-ext.rubyforge.org/readme.html)

Appears to be actively developed. I haven't tried it myself, though.

Regards,

Dan

> **···**
>
> On Sep 17, 9:40 am, Jeff \<cohen.j...@gmail.com\> wrote:
> 
> > Anyone know if there's a way to transform test/unit output into xUnit  
> > XML output? I need to emit something that our continuous integration  
> > system (Hudson) can understand.
> > 
> > Google hasn't been my friend in this regard... just some old ruby  
> > projects that aren't maintained anymore and that don't really work.

---

<div class="post-metadata">

**Author:** ![Jeff](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@Jeff](https://rubytalk.org/u/Jeff)\
**Post date:** [18 September 2008 14:14 UTC](https://rubytalk.org/t/xunit-style-output-from-test-unit/49134/3 "2008-09-18T14:14:47Z")

</div>

Thanks Dan.

Jeff

> **···**
>
> On Sep 17, 11:03 am, Daniel Berger \<djber...@gmail.com\> wrote:
> 
> > test-unit-ex looks like it supports this:
> > 
> > [http://rubyforge.org/projects/test-unit-ext/http://test-unit-ext.rubyforge.org/readme.html](http://rubyforge.org/projects/test-unit-ext/http://test-unit-ext.rubyforge.org/readme.html)
> > 
> > Appears to be actively developed. I haven't tried it myself, though.
> > 
> > Regards,
> > 
> > Dan
