# Html format for unit tests

**URL:** <https://www.ruby-forum.com/t/html-format-for-unit-tests/178934>\
**Category:** Ruby\
**Created:** [November 13, 2009, 7:42pm UTC](https://www.ruby-forum.com/t/html-format-for-unit-tests/178934 "2009-11-13T19:42:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![awsjr](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e495f1/32.png) [@awsjr](https://www.ruby-forum.com/u/awsjr)\
**Post date:** [November 13, 2009, 7:42pm UTC](https://www.ruby-forum.com/t/html-format-for-unit-tests/178934/1 "2009-11-13T19:42:10Z")

</div>

I am using Ruby unit testing successfully. But what I need is to enable  
the “HTML report generation” that is supported by most junit  
implementations.

---

<div class="post-metadata">

**Author:** ![awsjr](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e495f1/32.png) [@awsjr](https://www.ruby-forum.com/u/awsjr)\
**Post date:** [November 13, 2009, 11:21pm UTC](https://www.ruby-forum.com/t/html-format-for-unit-tests/178934/2 "2009-11-13T23:21:35Z")

</div>

Allen Smith wrote:

> I am using Ruby unit testing successfully. But what I need is to enable  
> the “HTML report generation” that is supported by most junit  
> implementations.

I know RSpec will do this (see the command-line options), but I don’t  
know if Test::Unit will. What test library are you using?

## Best,

Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![awsjr](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e495f1/32.png) [@awsjr](https://www.ruby-forum.com/u/awsjr)\
**Post date:** [November 14, 2009, 12:00am UTC](https://www.ruby-forum.com/t/html-format-for-unit-tests/178934/3 "2009-11-14T00:00:55Z")

</div>

On Fri, Nov 13, 2009 at 10:21 PM, Marnen Laibow-Koser  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> Allen Smith wrote:
> 
> > I am using Ruby unit testing successfully. But what I need is to enable  
> > the “HTML report generation” that is supported by most junit  
> > implementations.
> 
> I know RSpec will do this (see the command-line options), but I don’t  
> know if Test::Unit will. What test library are you using?

There are some external github projects that add effective reporting to  
Test::Unit tests.
