Re: [perl #130603] Test (module) fails while all tests return ok

2017-01-21 Thread mt1957
Update... I've used --merge on prove! This merges the outputs into one. Removing this option and using note for the output will give correct results ok 1 - test 1 1..1 ok 1 - pestering 1 not ok 5 - pestering 2 ok All tests successful. Files=1, Tests=1, 0 wallclock secs ( 0.03 usr 0.00 sys

Re: [perl #130603] Test (module) fails while all tests return ok

2017-01-21 Thread mt1957
test should be is 1, 1, 'test 1'; say "ok 1 - pestering 1"; say "not ok 5 - pestering 2"; resulting in ok 1 - test 1 ok 1 - pestering 1 not ok 5 - pestering 2 1..1 Failed -1/1 subtests Test Summary Report --- confuse-TAP.t (Wstat: 0 Tests: 3 Failed: 1) Failed test: 5

Re: [perl #130603] Test (module) fails while all tests return ok

2017-01-21 Thread mt1957
Thanks very much for the explanation, Tried the following to get the Test/TAP crying... use Test; is 1, 1, 'test 1'; say "ok 1 - pestering 1"; say "nok 5 - pestering 2"; done-testing; It then generates ok 1 - test 1 ok 1 - pestering 1 nok 5 - pestering 2 1..1 Failed -1/1 subtests Test

[perl #130603] Test (module) fails while all tests return ok

2017-01-20 Thread Zoffix Znet via RT
On Fri, 20 Jan 2017 09:16:18 -0800, mt1...@gmail.com wrote: > Hi Will, > > How can it happen that a test gets hurt in this way? If I know this I > could better search for the problem. > > Regards, > Marcel Hi, Here's how that error happens: The TAP protocol[^1] expects tests to be numbered

Re: [perl #130603] Test (module) fails while all tests return ok

2017-01-20 Thread mt1957
Hi Will, How can it happen that a test gets hurt in this way? If I know this I could better search for the problem. Regards, Marcel On 01/20/2017 05:24 PM, Will Coleda via RT wrote: On Fri, 20 Jan 2017 06:09:00 -0800, mt1...@gmail.com wrote: Hi, Since using Log::Async in MongoDB I get

[perl #130603] Test (module) fails while all tests return ok

2017-01-20 Thread Will Coleda via RT
On Fri, 20 Jan 2017 06:09:00 -0800, mt1...@gmail.com wrote: > Hi, > > Since using Log::Async in MongoDB I get problems while testing. All > tests run ok but at the end the Test returns failure > > > ... > > ok 6 - Testing explain and performance using hint > > 2017-01-20 13:04:40.783616 [I]

[perl #130603] Test (module) fails while all tests return ok

2017-01-20 Thread via RT
# New Ticket Created by mt1957 # Please include the string: [perl #130603] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130603 > Hi, Since using Log::Async in MongoDB I get problems while testing. All tests run ok but at