Perl test case suggestions?

James Laska jlaska at redhat.com
Thu Apr 7 12:57:14 UTC 2011


On Thu, 2011-04-07 at 07:06 +0200, Ralf Corsepius wrote:
> On 04/06/2011 05:08 PM, James Laska wrote:
> > On Wed, 2011-04-06 at 09:48 -0500, Bruno Wolff III wrote:
> >> On Wed, Apr 06, 2011 at 10:45:16 -0400,
> >>    James Laska<jlaska at redhat.com>  wrote:
> >>> Greetings folks,
> >>>
> >>> I'm not a perl user, and it's been *some* time since I last knowingly
> >>> opened up a perl script.  While providing some karma feedback for a
> >>> recent perl update, it occurred that it might be nice to have a few
> >>> sample perl test cases linked from the bodhi update request.
> >>>
> >>> Does anyone have any perl test case suggestions that we can add to
> >>> https://fedoraproject.org/wiki/Category:Package_perl_test_cases ?
> >>
> >> It is fairly normal for perl modules to come with test cases. I am not
> >> sure of what you need to do to run them as they are installed, but it is
> >> normal to run them when building them from source.
> >
> > Is that something a tester should validate from the koji build logs?
> It's convention for all fedora perl packages to run these test
> in %check.
> 
> I.e. usually (i.e. there are exceptions), a perl-package which fails its 
> testsuite will fail building.
> 
> > Meaning, check whether %check ran, and passed?
> So far, this has been considered responsibility of the Fedora package 
> maintainer as well as has making sure %check runs a perl package's 
> testsuite and produces reasonable results, always been been part of the 
> Fedora package reviews.

<nod>

> > Anything else to consider?
> I am not sure what you are aim at.

I'm looking for some quick/basic ideas we can turn into test cases on
the wiki anchored at
https://fedoraproject.org/wiki/Category:Package_perl_test_cases.  These
tests are then linked in the bodhi updated as suggested tests.  While
providing karma feedback for perl, I thought it would be handy to have a
list of *basic* perl tests available for testers to run (esp since I
don't use perl much).

Thanks,
James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/test/attachments/20110407/faf0ca13/attachment.bin 


More information about the test mailing list