Skip Menu |

This queue is for tickets about the Unix-Mgt CPAN distribution.

Report information
The Basics
Id: 101231
Status: resolved
Priority: 0/
Queue: Unix-Mgt

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

Bug Information
Severity: Wishlist
Broken in: 0.11
Fixed in: (no value)



Subject: Use fail() instead of ok(0)
Using fail($test_name) gives more diagnostics about test failures than just using ok(0). I see at least one occurence of ok(0) here: https://metacpan.org/source/MIKO/Unix-Mgt-0.11/t/test.t#L74 (This would give more information about the failing tests on FreeBSD)
On Thu Jan 01 05:20:38 2015, SREZIC wrote: Show quoted text
> Using fail($test_name) gives more diagnostics about test failures than > just using ok(0). I see at least one occurence of ok(0) here: > https://metacpan.org/source/MIKO/Unix-Mgt-0.11/t/test.t#L74 > (This would give more information about the failing tests on FreeBSD)
Thanks for the feedback. I've added test names and uploaded a new version 0.12.
On Fri Jan 02 02:35:55 2015, MIKO wrote: Show quoted text
> On Thu Jan 01 05:20:38 2015, SREZIC wrote:
> > Using fail($test_name) gives more diagnostics about test failures > > than > > just using ok(0). I see at least one occurence of ok(0) here: > > https://metacpan.org/source/MIKO/Unix-Mgt-0.11/t/test.t#L74 > > (This would give more information about the failing tests on FreeBSD)
> > > Thanks for the feedback. I've added test names and uploaded a new > version 0.12.