Return-Path: Delivered-To: apmail-httpd-test-dev-archive@www.apache.org Received: (qmail 79099 invoked from network); 3 Apr 2004 01:30:55 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 3 Apr 2004 01:30:55 -0000 Received: (qmail 63712 invoked by uid 500); 3 Apr 2004 01:30:40 -0000 Delivered-To: apmail-httpd-test-dev-archive@httpd.apache.org Received: (qmail 63587 invoked by uid 500); 3 Apr 2004 01:30:39 -0000 Mailing-List: contact test-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: test-dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list test-dev@httpd.apache.org Received: (qmail 63563 invoked from network); 3 Apr 2004 01:30:38 -0000 Received: from unknown (HELO mail.logilune.com) (195.154.174.52) by daedalus.apache.org with SMTP; 3 Apr 2004 01:30:38 -0000 Received: from stason.org (localhost.logilune.com [127.0.0.1]) by mail.logilune.com (Postfix) with ESMTP id 9CA0D1E1935 for ; Sat, 3 Apr 2004 03:30:44 +0200 (CEST) Message-ID: <406E13C1.5090602@stason.org> Date: Fri, 02 Apr 2004 17:30:41 -0800 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 To: test-dev@httpd.apache.org Subject: Re: Apache test -- Perl-test-framework References: <20040401235717.65988.qmail@minotaur.apache.org> <406CB877.8050708@modperlcookbook.org> <406CBCCA.8000807@stason.org> <406CBFC1.3070506@modperlcookbook.org> <406CC138.1030209@stason.org> <406CCA05.7020309@modperlcookbook.org> <406CCC69.9030100@stason.org> <406CD22C.2020102@modperlcookbook.org> <406D0F2A.7000906@stason.org> <1080930768.12142.19.camel@congo.spikesource.com> In-Reply-To: <1080930768.12142.19.camel@congo.spikesource.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Abhishek Khandelwal wrote: > 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. > > Please help. 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 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