[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Unit test output verbosity

Krzysieq

12/12/2008 4:31:00 PM

[Note: parts of this message were removed to make it a legal post.]

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

5 Answers

Sean McHugh

9/4/2008 3:32:00 AM

0



RBRK wrote:

Whatever, it's irrelevant.

Posters who set their clocks ahead, so that their posts jam the most
recent positions, go straight into the message filter.

<snip>

regn.pickford

9/4/2008 6:05:00 AM

0


"Sean McHugh" <seanm@exemail.com.au> wrote in message
news:48BF56B1.979ADB57@exemail.com.au...
>
>
> RBRK wrote:
>
> Whatever, it's irrelevant.
>
> Posters who set their clocks ahead, so that their posts jam the most
> recent positions, go straight into the message filter.
>
> <snip>

ditto

Just wish they'd stop changing their fukn details.


Kouhei Sutou

12/13/2008 2:48:00 AM

0

Hi,

In <1817d5e00812120837o7e22147ds5e0d72479b08e891@mail.gmail.com>
"Unit test output verbosity" on Sat, 13 Dec 2008 01:30:39 +0900,
Krzysieq <krzysieq@gazeta.pl> 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,
--
kou

Krzysieq

12/15/2008 9:58:00 AM

0

[Note: parts of this message were removed to make it a legal post.]

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 Sutou <kou@cozmixng.org>

> Hi,
>
> In <1817d5e00812120837o7e22147ds5e0d72479b08e891@mail.gmail.com>
> "Unit test output verbosity" on Sat, 13 Dec 2008 01:30:39 +0900,
> Krzysieq <krzysieq@gazeta.pl> 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,
> --
> kou
>
>

Kouhei Sutou

12/15/2008 10:36:00 AM

0

Hi,

In <1817d5e00812150205l75b4e3a0xb1134b04f7f700cb@mail.gmail.com>
"Re: Unit test output verbosity" on Mon, 15 Dec 2008 18:58:18 +0900,
Krzysieq <krzysieq@gazeta.pl> 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,
--
kou