# xUnit-style output from test/unit?

**URL:** <https://www.ruby-forum.com/t/xunit-style-output-from-test-unit/148850>\
**Category:** Ruby\
**Created:** [September 17, 2008, 6:44pm UTC](https://www.ruby-forum.com/t/xunit-style-output-from-test-unit/148850 "2008-09-17T18:44:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeff](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e19b73/32.png) [@jeff](https://www.ruby-forum.com/u/jeff)\
**Post date:** [September 17, 2008, 6:44pm UTC](https://www.ruby-forum.com/t/xunit-style-output-from-test-unit/148850/1 "2008-09-17T18:44:17Z")

</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:** ![jeff](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e19b73/32.png) [@jeff](https://www.ruby-forum.com/u/jeff)\
**Post date:** [September 17, 2008, 7:14pm UTC](https://www.ruby-forum.com/t/xunit-style-output-from-test-unit/148850/2 "2008-09-17T19:14:22Z")

</div>

On Sep 17, 9:40 am, Jeff [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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.

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

---

<div class="post-metadata">

**Author:** ![jeff](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e19b73/32.png) [@jeff](https://www.ruby-forum.com/u/jeff)\
**Post date:** [September 18, 2008, 4:26pm UTC](https://www.ruby-forum.com/t/xunit-style-output-from-test-unit/148850/3 "2008-09-18T16:26:01Z")

</div>

On Sep 17, 11:03 am, Daniel B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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

Thanks Dan.

Jeff
