Skip Menu |

This queue is for tickets about the Test-LeakTrace CPAN distribution.

Report information
The Basics
Id: 101790
Status: rejected
Priority: 0/
Queue: Test-LeakTrace

People
Owner: Nobody in particular
Requestors: rrwo [...] cpan.org
Cc: ether [...] cpan.org
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.15
Fixed in: (no value)



Subject: Leaks in Test::More 1.001009 are detected
It's problematic to run tests within a no_leaks_ok call, because of Leaks in Test::More. It would be nice to have an option to at least ignore leaks in Test::Most. Sample code: use Test::More 0.88; use Test::LeakTrace; no_leaks_ok { pass 'outside subtest'; }; done_testing;
On 2015-01-28 02:36:49, RRWO wrote: Show quoted text
> It's problematic to run tests within a no_leaks_ok call, because of > Leaks in Test::More. > > It would be nice to have an option to at least ignore leaks in > Test::Most.
Maybe we should get those leaks fixed. :) Have they been reported?
On Wed Jan 28 13:31:11 2015, ETHER wrote: Show quoted text
> On 2015-01-28 02:36:49, RRWO wrote:
> > It's problematic to run tests within a no_leaks_ok call, because of > > Leaks in Test::More. > > > > It would be nice to have an option to at least ignore leaks in > > Test::Most.
Typo: That's Test::More, not Test::Most. Show quoted text
> Maybe we should get those leaks fixed. :) Have they been reported?
I haven't yet checked. But I think it's useful to have an option to ignore leaks in Test* modules.
As per the referenced ticket on github above, this can't be fixed at present. Closing.