In perl.git, the branch smoke-me/re-tests has been created
<http://perl5.git.perl.org/perl.git/commitdiff/ba1e2d686f1c5b2fbd1d3b7781e4e1d28c719f11?hp=0000000000000000000000000000000000000000>
at ba1e2d686f1c5b2fbd1d3b7781e4e1d28c719f11 (commit)
- Log -----------------------------------------------------------------
commit ba1e2d686f1c5b2fbd1d3b7781e4e1d28c719f11
Author: Nicholas Clark <[email protected]>
Date: Sat Mar 5 06:42:00 2011 +0000
Prune redundant blank lines.
M t/re/pat.t
M t/re/pat_advanced.t
M t/re/pat_rt_report.t
commit 6c6951d64640478d945c5c35a824c2badf2e75e5
Author: Nicholas Clark <[email protected]>
Date: Sat Mar 5 06:32:07 2011 +0000
t/re/pat_{psycho,re_eval,special_cc}.t can use test.pl direct.
They no longer use any of the extra functions of ReTest.pl
M t/re/pat_psycho.t
M t/re/pat_re_eval.t
M t/re/pat_special_cc.t
commit ffb7edc81def3b6fe03c075b6593115494ca7a70
Author: Nicholas Clark <[email protected]>
Date: Sat Mar 5 06:23:18 2011 +0000
Eliminate the placeholder text 'Noname test'.
It's no longer needed now that the migration from ReTest.pl's TAP generation
functions is completed.
M t/re/pat_re_eval.t
M t/re/pat_rt_report.t
commit 9143865c9c1c406b9fe4515a13c23313d99e1ca3
Author: Nicholas Clark <[email protected]>
Date: Sat Mar 5 06:08:18 2011 +0000
Eliminate iseq() from ReTest.pl by changing all callers to use is().
M t/re/ReTest.pl
M t/re/pat.t
M t/re/pat_advanced.t
M t/re/pat_re_eval.t
M t/re/pat_rt_report.t
M t/re/pat_special_cc.t
commit 2f0427a9d0bbea8d69741c1b6da42aa134f62fab
Author: Nicholas Clark <[email protected]>
Date: Sat Mar 5 05:38:18 2011 +0000
Eliminate nok() from ReTest.pl by refactoring all uses to other test
functions.
M t/re/ReTest.pl
M t/re/pat.t
M t/re/pat_advanced.t
commit cab62e8a7391b5b039f03a560543f49780d7f581
Author: Nicholas Clark <[email protected]>
Date: Fri Mar 4 22:32:24 2011 +0000
Refactor ReTest.pl to use test.pl for testing functions and TAP generation.
Provide compatibility implementations of nok(), and iseq(), which will be
removed once their callers are refactored. Eliminate isneq(), which is now
unused.
M t/re/ReTest.pl
commit 4d2d493bd4a21191bb597c76b532c73c40c9b9eb
Author: Nicholas Clark <[email protected]>
Date: Fri Mar 4 21:55:46 2011 +0000
Slight tweaks to regexp tests so that they still produce sane TAP with
test.pl
Explicitly escape non-printable characters in test descriptions, instead of
relying on some part of the TAP generation code to do so. Use diag()
instead of
passing 3 arguments to ok(). Add a mininal diag() implementation to
ReTest.pl
M t/re/ReTest.pl
M t/re/pat.t
M t/re/pat_advanced.t
M t/re/pat_rt_report.t
commit bf2189a6a02de08c4e9c3b257995b35c28d56227
Author: Nicholas Clark <[email protected]>
Date: Fri Mar 4 22:02:23 2011 +0000
Use $::TODO, instead of $TODO, and relying on use vars '$TODO' in ReTest.pl
M t/re/pat.t
M t/re/pat_advanced.t
M t/re/pat_rt_report.t
commit 7b686c85893b67562abed7cd5e5112338f2507a3
Author: Nicholas Clark <[email protected]>
Date: Fri Mar 4 20:47:28 2011 +0000
Remove the line number from the test description output by ReTest.pl
This means that the TAP it generates is much closer to that generated by
test.pl
M t/re/ReTest.pl
commit 379799981424d4455e218f63c1f702a594c7b2ca
Author: Nicholas Clark <[email protected]>
Date: Fri Mar 4 18:25:15 2011 +0000
Eliminate the global override $BugId from t/re/ReTest.pl
M t/re/ReTest.pl
commit 70ee98f1aef97b90db631e3debba732800e6ec5e
Author: Nicholas Clark <[email protected]>
Date: Fri Mar 4 18:24:19 2011 +0000
Eliminate use of $::BugId in t/re/pat_rt_report.t
Pass the message in explicitly to the test functions. Change to use test.pl
compatible functions where appropriate. For now avoid renumbering lines, or
any other change that changes the generated TAP output. (Hence no splitting
tests, and adding the seemingly useless 'Noname test;', as that was what
t/re/ReTest.pl's _ok() was defaulting to)
M t/re/pat_rt_report.t
commit d9f0c0587a75395442564e2fc8c79e883b1494f9
Author: Nicholas Clark <[email protected]>
Date: Fri Mar 4 16:14:20 2011 +0000
Eliminate use of $::BugId in t/re/pat_re_eval.t
Pass the message in explicitly to the test functions. Change to use test.pl
compatible functions where appropriate. For now avoid renumbering lines, or
any other change that changes the generated TAP output. (Hence no splitting
tests, and adding the seemingly useless 'Noname test;', as that was what
t/re/ReTest.pl's _ok() was defaulting to)
M t/re/pat_re_eval.t
commit 9432f02fff8205c551406170d8dc7a55265ea50a
Author: Nicholas Clark <[email protected]>
Date: Fri Mar 4 16:04:21 2011 +0000
Eliminate the global override $Message from t/re/ReTest.pl
M t/re/ReTest.pl
commit 33d7b2b13457105115cc08a926b3595c831b4293
Author: Nicholas Clark <[email protected]>
Date: Fri Mar 4 16:03:37 2011 +0000
Eliminate use of $::Message in t/re/pat_re_eval.t
Pass the message in explicitly to the test functions. Change to use test.pl
compatible functions where appropriate. For now avoid renumbering lines, or
any other change that changes the generated TAP output. (Hence no splitting
tests.)
M t/re/pat_re_eval.t
commit b776a38b4aaf12e329dd937d3d5daddea86d08dd
Author: Nicholas Clark <[email protected]>
Date: Fri Mar 4 15:31:17 2011 +0000
Eliminate use of $::Message in t/re/pat_rt_report.t
Pass the message in explicitly to the test functions. Change to use test.pl
compatible functions where appropriate. For now avoid renumbering lines, or
any other change that changes the generated TAP output. (Hence no splitting
tests.)
M t/re/pat_rt_report.t
commit 83e9358ea34d9e2c7934b6b4875822dcadf8b313
Author: Nicholas Clark <[email protected]>
Date: Fri Mar 4 10:02:36 2011 +0000
Eliminate use of $::Message in t/re/pat_advanced.t
Pass the message in explicitly to the test functions. Change to use test.pl
compatible functions where appropriate. For now avoid renumbering lines, or
any other change that changes the generated TAP output. (Hence no splitting
tests.)
M t/re/pat_advanced.t
commit 436440261a671cd4b08346d7d73a2895c51e9af7
Author: Nicholas Clark <[email protected]>
Date: Thu Mar 3 14:45:25 2011 +0000
Eliminate use of $::Message in t/re/pat.t
Pass the message in explicitly to the test functions. Change to use test.pl
compatible functions where appropriate. For now avoid renumbering lines, or
any other change that changes the generated TAP output. (Hence no splitting
of
tests.)
M t/re/pat.t
commit d3ccea43baeb7fac6816efcd45e6c6cab35a279b
Author: Nicholas Clark <[email protected]>
Date: Thu Mar 3 14:44:31 2011 +0000
In ReTest.pl, provide is(), isnt(), like() and unlike(), equivalent to
test.pl
This will ease the migration of the users of ReTest.pl to test.pl
M t/re/ReTest.pl
commit a126c04b55b11b557629fad04a9b159d7a6cbc9a
Author: Nicholas Clark <[email protected]>
Date: Wed Mar 2 16:23:17 2011 +0000
In ReTest.pl, convert iseq() and isneq() to the same logic as test.pl's
is/isnt
Previously both would stringify first, then compare, which would mean that
any overloaded objects would have their stringify method called, instead of
'eq' or 'ne'.
M t/re/ReTest.pl
commit d1b911ebede4e7fd87312ff349b8faeac459efc1
Author: Nicholas Clark <[email protected]>
Date: Thu Mar 3 08:30:16 2011 +0000
In test.pl, change like() and unlike() to avoid copying the tested scalar.
This means that side effects of matching regexps on it are maintained,
specifically the value of pos, making test.pl more useful for tests in t/re.
This is a subtle divergence from the behaviour of Test::More::{like,unlike}
M t/test.pl
-----------------------------------------------------------------------
--
Perl5 Master Repository