Skip Menu |

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 5898
Status: resolved
Priority: 0/
Queue: Test-Harness

People
Owner: andy [...] hexten.net
Requestors: akhandel [...] spikesource.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Apache test -- Perl-test-framework
From: Abhishek Khandelwal <akhandel [...] spikesource.com>
To: bug-test-harness [...] rt.cpan.org
Date: Fri, 02 Apr 2004 17:38:38 -0800
Hello, Is there a way to count the total number of tests when the perl-test suits are run. If all the tests passes, then in final report it specifies the total number of files and total number of tests run. But in case there are tests which fails, it publishes a report which looks like as follows: ------------------------------------------------------------------ Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- modules/cgi.t 50 21 42.00% 14 16 24 26 28 30 32 34 36 38- 41 43-50 modules/include.t 82 6 7.32% 11 27 39 41-42 65 ssl/http.t 255 65280 2 4 200.00% 1-2 ssl/proxy.t 169 2 1.18% 114 117 2 tests and 14 subtests skipped. !!! error running tests (please examine t/logs/error_log) ------------------------------------------------------------------ Now I dont have any way to know how many total tests were run as the report only shows the results of failed tests. Does anyone know a way to do it. My guess is, I can somehow instrument Apache::Test or Apache::TestRequest etc to get the total count. Stas Bekam at stason.org suggested me that this may be the bug in Test::Harness . So was wondering if you can help in that. Please help. --------- a reply I got from test-dev<at>httpd.apache.org--------- Abhishek, this report is printed by Test::Harness, not Apache-Test, i.e. it's not under our control. Feel free to contact the authors of Test::Harness at bug-test-harness <at> rt.cpan.org and ask them to fix that. This part of the report is definitely missing, IMHO. Thanks. Show quoted text
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas@stason.org http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
Date: Fri, 2 Apr 2004 20:20:56 -0600
From: Andy Lester <andy [...] petdance.com>
To: Abhishek Khandelwal via RT <bug-Test-Harness [...] rt.cpan.org>
CC: "AdminCc of cpan Ticket #5898": ;
Subject: Re: [cpan #5898] Apache test -- Perl-test-framework
RT-Send-Cc:
Show quoted text
> Now I dont have any way to know how many total tests were run as the report only shows the results of failed tests.
That bug is already on my To-Be-Fixed list. xoa -- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance
From: akhandel [...] spikesource.com
[akhandel@spikesource.com - Fri Apr 2 20:41:07 2004]: Show quoted text
> Hello, > > Is there a way to count the total number of tests when the perl-test > suits are run. > If all the tests passes, then in final report it specifies the total > number of files and total number of tests run. But in case there are > tests which fails, it publishes a report which looks like as follows: > > ------------------------------------------------------------------ > Failed Test Stat Wstat Total Fail Failed List of Failed >
------------------------------------------------------------------------------- Show quoted text
> modules/cgi.t 50 21 42.00% 14 16 24 26 28 30 32 > 34 36 38- > 41 43-50 > modules/include.t 82 6 7.32% 11 27 39 41-42 65 > ssl/http.t 255 65280 2 4 200.00% 1-2 > ssl/proxy.t 169 2 1.18% 114 117 > 2 tests and 14 subtests skipped. > !!! error running tests (please examine t/logs/error_log) > > ------------------------------------------------------------------ > > Now I dont have any way to know how many total tests were run as the > report only shows the results of failed tests. > > Does anyone know a way to do it. My guess is, I can somehow > instrument Apache::Test or Apache::TestRequest etc to get the total > count. > > Stas Bekam at stason.org suggested me that this may be the bug in > Test::Harness . > So was wondering if you can help in that. > > > Please help. > > > --------- a reply I got from test-dev<at>httpd.apache.org--------- > Abhishek, this report is printed by Test::Harness, not Apache-Test, > i.e. it's > not under our control. Feel free > to contact the authors of Test::Harness at bug-test-harness <at> > rt.cpan.org > and ask them to fix that. This part of the report is definitely > missing, IMHO. > Thanks. > > __________________________________________________________________ > Stas Bekman JAm_pH ------> Just Another mod_perl Hacker > http://stason.org/ mod_perl Guide ---> http://perl.apache.org > mailto:stas@stason.org http://use.perl.org http://apacheweek.com > http://modperlbook.org http://apache.org http://ticketmaster.com >
Is this bug resolved? If not, any plan to resolve?
I believe changes to the output format in 2.99 resolve this.