Skip to content

Commit

Permalink
Update Test::Builder to use Test2 under the hood
Browse files Browse the repository at this point in the history
This commit is a complete migration to using Test2 under the hood.

This commit incorperates all the changes that were made for the
Test::Stream work. This work was all squashed for clarity. The original
Stream/Matser branch had a lot of bugfixes and Test::Stream API changes
in its history that could only serve to confuse.
  • Loading branch information
exodist committed Dec 21, 2015
1 parent 036ae00 commit 0f0c7d4
Show file tree
Hide file tree
Showing 45 changed files with 1,100 additions and 1,317 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ Build
_build
cover_db/
MYMETA.*

t2_lib
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ perl:
- "5.16"
- "5.18"
- "5.20-thr"
- "5.22-thr"
- "blead"
before_install:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init --auto
- cpan-install SQL::Abstract::Test
- cpan-install Test2
10 changes: 7 additions & 3 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ lib/Test/use/ok.pm
Makefile.PL
MANIFEST This list of files
MANIFEST.SKIP
profiling/compile.pl
profiling/long-run.pl
profiling/run.pl
README
t/00compile.t
t/00test_harness_check.t
Expand All @@ -31,6 +34,7 @@ t/bail_out.t
t/BEGIN_require_ok.t
t/BEGIN_use_ok.t
t/buffer.t
t/Bugs/600.t
t/Builder/Builder.t
t/Builder/carp.t
t/Builder/create.t
Expand Down Expand Up @@ -63,7 +67,6 @@ t/capture.t
t/check_tests.t
t/circular_data.t
t/cmp_ok.t
t/dependents.t
t/depth.t
t/diag.t
t/died.t
Expand Down Expand Up @@ -130,12 +133,12 @@ t/Simple/load.t
t/skip.t
t/skipall.t
t/SmallTest.pm
t/Stream/Subtest.t
t/subtest/args.t
t/subtest/bail_out.t
t/subtest/basic.t
t/subtest/die.t
t/subtest/do.t
t/subtest/exceptions.t
t/subtest/for_do_t.test
t/subtest/fork.t
t/subtest/implicit_done.t
Expand Down Expand Up @@ -165,8 +168,9 @@ t/use_ok.t
t/useing.t
t/utf8.t
t/versions.t
t/xt/dependents.t
t/xxx-changes_updated.t
t/zzz-check-breaks.t
TODO
xt/downstream.t
xt/downstream_dists.list
xt/downstream_dists.list.known_broken
2 changes: 2 additions & 0 deletions MANIFEST.SKIP
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,5 @@
^Test-Simple-

.travis.yml

^t2_lib
7 changes: 4 additions & 3 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,10 @@ WriteMakefile(

($mm_ver >= 6.31 ? (LICENSE => 'perl') : ()),

PREREQ_PM => {
'Test::Harness' => 2.03,
'Scalar::Util' => 1.13,
PREREQ_PM => {
'Test2' => '0.000008',
'Test::Harness' => 2.03,
'Scalar::Util' => 1.13,
%Prereqs
},

Expand Down
Loading

0 comments on commit 0f0c7d4

Please sign in to comment.