# Unit test output verbosity

**URL:** <https://www.ruby-forum.com/t/unit-test-output-verbosity/155505>\
**Category:** Ruby\
**Created:** [December 12, 2008, 5:38pm UTC](https://www.ruby-forum.com/t/unit-test-output-verbosity/155505 "2008-12-12T17:38:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krzysieq](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/71e660/32.png) [@Krzysieq](https://www.ruby-forum.com/u/Krzysieq)\
**Post date:** [December 12, 2008, 5:38pm UTC](https://www.ruby-forum.com/t/unit-test-output-verbosity/155505/1 "2008-12-12T17:38:10Z")

</div>

Hey,

I have a question. I wrote some unit tests for my simple app. Since it’s  
a  
part of a larger whole, it’s managed inside a continuous integration  
framework. For that purpose I would like to report the unit tests that  
are  
executed not only by their overall failure or success, but in more  
detail.  
Is there any way in which I can increase the verbosity of messages sent  
to  
standard output, so that I can see the names of all test case  
subclasses,  
and all test methods, with a distinction whether or not they succeeded?  
The  
best would be to get a junit format of xml report, but I have tools to  
do  
that for me from plain text, so this isn’t a big deal. I will appreciate  
any  
insight.

Cheers,  
Chris

---

<div class="post-metadata">

**Author:** ![Krzysieq](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/71e660/32.png) [@Krzysieq](https://www.ruby-forum.com/u/Krzysieq)\
**Post date:** [December 13, 2008, 3:57am UTC](https://www.ruby-forum.com/t/unit-test-output-verbosity/155505/2 "2008-12-13T03:57:11Z")

</div>

Hi,

In [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
“Unit test output verbosity” on Sat, 13 Dec 2008 01:30:39 +0900,  
Krzysieq [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I have a question. I wrote some unit tests for my simple app. Since it’s a  
> part of a larger whole, it’s managed inside a continuous integration  
> framework. For that purpose I would like to report the unit tests that are  
> executed not only by their overall failure or success, but in more detail.  
> Is there any way in which I can increase the verbosity of messages sent to  
> standard output, so that I can see the names of all test case subclasses,  
> and all test methods, with a distinction whether or not they succeeded? The  
> best would be to get a junit format of xml report, but I have tools to do  
> that for me from plain text, so this isn’t a big deal. I will appreciate any  
> insight.

Are you using test-unit? If so, you can use -vv option.

Thanks,

---

<div class="post-metadata">

**Author:** ![Krzysieq](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/71e660/32.png) [@Krzysieq](https://www.ruby-forum.com/u/Krzysieq)\
**Post date:** [December 15, 2008, 11:06am UTC](https://www.ruby-forum.com/t/unit-test-output-verbosity/155505/3 "2008-12-15T11:06:19Z")

</div>

Hi again,

Yes, I’m using Test::Unit, but the -w parameter You mentioned doesn’t  
seem  
to have done anything. Any other ideas? Thanks for help anyways.

Cheers,  
Chris

2008/12/13 Kouhei S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![Krzysieq](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/71e660/32.png) [@Krzysieq](https://www.ruby-forum.com/u/Krzysieq)\
**Post date:** [December 15, 2008, 11:44am UTC](https://www.ruby-forum.com/t/unit-test-output-verbosity/155505/4 "2008-12-15T11:44:30Z")

</div>

Hi,

In [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
“Re: Unit test output verbosity” on Mon, 15 Dec 2008 18:58:18 +0900,  
Krzysieq [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Yes, I’m using Test::Unit, but the -w parameter You mentioned doesn’t seem  
> to have done anything. Any other ideas? Thanks for help anyways.

No, no, no. Two “v"s (”-vv") not one “w” (“-w”).  
See --help.

> > Are you using test-unit? If so, you can use -vv option.

Thanks,
