Re: Test::More, what we hope to achieve doc.

2015-04-13 Thread Martin J. Evans

On 12/04/15 22:14, Chad Granum wrote:

Thanks for the feedback!

A few people have asked for a transition document like what you are asking for, 
I have yet to write it, but it is on my list.

The main thing for a darkpan maintainer to do is this:


I have a large darkpan test suite but when attempting to install this:

https://metacpan.org/release/EXODIST/Test-Simple-1.301001_100)

release I got:

t/xxx-changes_updated.t  skipped: Only tested when releasing
t/zzz-check-breaks.t ... Can't locate object method requirements_for_module 
via package CPAN::Meta::Requirements at t/zzz-check-breaks.t line 43.
t/zzz-check-breaks.t ... Dubious, test returned 25 (wstat 6400, 
0x1900)
No subtests run

Test Summary Report
---
t/zzz-check-breaks.t (Wstat: 6400 Tests: 0 Failed: 0)
  Non-zero exit status: 25
  Parse errors: No plan found in TAP output
Files=30, Tests=214,  5 wallclock secs ( 0.35 usr  0.08 sys +  4.11 cusr  0.52 
csys =  5.06 CPU)
Result: FAIL
Failed 1/30 test programs. 0/214 subtests failed.

Run individually:

prove -vb t/zzz-check-breaks.t
t/zzz-check-breaks.t .. Can't locate object method requirements_for_module via package 
CPAN::Meta::Requirements at t/zzz-check-breaks.t line 43.
Dubious, test returned 25 (wstat 6400, 0x1900)
No subtests run

Test Summary Report
---
t/zzz-check-breaks.t (Wstat: 6400 Tests: 0 Failed: 0)
  Non-zero exit status: 25
  Parse errors: No plan found in TAP output
Files=1, Tests=0,  0 wallclock secs ( 0.06 usr  0.01 sys +  0.24 cusr  0.04 
csys =  0.35 CPU)
Result: FAIL

This is perl 5, version 16, subversion 0 (v5.16.0) built for i686-linux

I will happily run our darkpan test suite if I get past this point.

I'll post this on github if you prefer.

Martin



Re: Test::More, what we hope to achieve doc.

2015-04-13 Thread Kent Fredric
On 13 April 2015 at 20:21, Martin J. Evans martin.ev...@easysoft.com
wrote:


 release I got:

 t/xxx-changes_updated.t  skipped: Only tested when releasing
 t/zzz-check-breaks.t ... Can't locate object method
 requirements_for_module via package CPAN::Meta::Requirements at
 t/zzz-check-breaks.t line 43.
 t/zzz-check-breaks.t ... Dubious, test returned 25 (wstat
 6400, 0x1900)
 No subtests run

 Test Summary Report
 ---
 t/zzz-check-breaks.t (Wstat: 6400 Tests: 0 Failed: 0)
   Non-zero exit status: 25
   Parse errors: No plan found in TAP output
 Files=30, Tests=214,  5 wallclock secs ( 0.35 usr  0.08 sys +  4.11 cusr
 0.52 csys =  5.06 CPU)
 Result: FAIL
 Failed 1/30 test programs. 0/214 subtests failed.



A quick analysis says that that function call didn't exist before
CPAN::Meta::Requirements 2.120920:

https://metacpan.org/changes/release/DAGOLDEN/CPAN-Meta-2.120920#L7

So that test should call   CPAN::Meta::Requirements-VERSION(2.120920) in
the eval to skip it at install time if CPAN::Meta::Requirements is not new
enough.



-- 
Kent

*KENTNL* - https://metacpan.org/author/KENTNL


Re: Test::More, what we hope to achieve doc.

2015-04-13 Thread Kent Fredric
On 13 April 2015 at 20:21, Martin J. Evans martin.ev...@easysoft.com
wrote:


 I'll post this on github if you prefer.

 Martin



And done on your behalf: https://github.com/Test-More/test-more/issues/563

-- 
Kent

*KENTNL* - https://metacpan.org/author/KENTNL


Re: Test::More, what we hope to achieve doc.

2015-04-13 Thread Chad Granum
Just cut a new release that fixes that unit test.

On Mon, Apr 13, 2015 at 2:42 AM, Kent Fredric kentfred...@gmail.com wrote:



 On 13 April 2015 at 20:21, Martin J. Evans martin.ev...@easysoft.com
 wrote:


 I'll post this on github if you prefer.

 Martin



 And done on your behalf: https://github.com/Test-More/test-more/issues/563

 --
 Kent

 *KENTNL* - https://metacpan.org/author/KENTNL