Skip Menu |

This queue is for tickets about the HTML-Strip CPAN distribution.

Report information
The Basics
Id: 33059
Status: resolved
Priority: 0/
Queue: HTML-Strip

People
Owner: Nobody in particular
Requestors: a.r.ferreira [...] gmail.com
Cc:
AdminCc:

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



Subject: [PATCH] Modernize the test suite
Date: Sat, 9 Feb 2008 18:07:14 -0200
To: "Alex Bowley" <kilinrax [...] cpan.org>, bug-html-strip <bug-HTML-Strip [...] rt.cpan.org>
From: "Adriano Ferreira" <a.r.ferreira [...] gmail.com>
The attached patch modernizes the test suite of HTML-Strip (the script test.pl) into a new "t/basic.t" which uses Test::More. The advantages are: * Test::More has an API which is more clear and intuitive (for instance, &is rather than &ok) * It is good to catch problems (for example, the plan of test.pl said 17 tests and Test was ok with it, but actually these are 22 tests and Test::More is stricter) The patch is just * a rewrite of "test.pl" into "t/basic.t" (straightforward) * a more strict Makefile.PL declaring prereqs more explicitly (even core ones) * the corresponding change in MANIFEST Best, Adriano Ferreira

Message body is not shown because sender requested not to inline it.

On Wed Sep 24 08:25:56 2014, KILINRAX wrote: Show quoted text