develooper Front page | perl.perl5.porters | Postings from January 2013

Re: [perl #116483] migrate t/ from custom TAP generation

Thread Previous | Thread Next
January 22, 2013 17:59
Re: [perl #116483] migrate t/ from custom TAP generation
Message ID:
On 21 January 2013 17:10, Ricardo SIGNES <> wrote:
> # New Ticket Created by  Ricardo SIGNES
> # Please include the string:  [perl #116483]
> # in the subject line of all future correspondence about this issue.
> # <URL: >
> Many tests below ./t still generate TAP by "hand", rather than using library
> functions. As explained in perlhack/TESTING, tests in ./t are written in a
> particular way to test that more complex constructions actually work before
> using them routinely. Hence they don't use Test::More, but instead there is an
> intentionally simpler library, ./t/ However, quite a few tests in ./t
> have not been refactored to use it. Refactoring any of these tests, one at a
> time, is a useful thing TODO.
> The subdirectories base, cmd and comp, which contain the most basic tests,
> **must** be excluded from this task.
Also probably tests in t/re.

A lot of the test infrastructure uses regexes to do its tests. At one
point we were really anal about this for regexps.


perl -Mre=debug -e "/just|another|perl|hacker/"

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About