Skip Menu |

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

Report information
The Basics
Id: 23252
Status: resolved
Priority: 0/
Queue: Test-MockDBI

People
Owner: Nobody in particular
Requestors: joerg [...] chaosdorf.de
Cc:
AdminCc:

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



Subject: Problem with --dbitest as a first argument
Date: Tue, 14 Nov 2006 15:45:27 +0100
To: bug-Test-MockDBI [...] rt.cpan.org
From: "Joerg Boehme" <joerg [...] chaosdorf.de>
--dbitest as a fixed first argument isn't working for me, because I use Test::MockDBI with Test::Unit and the first argument ($ARGV[0]) is the filename of the Test-Unit file. I solved the problem with the attached patch. Local enviroment: FreeBSD 6.1-RELEASE-p10 #3 i386 Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=freebsd, osvers=6.1-release, archname=i386-freebsd-64int Module Test-MockDBI-0.61 Test-Unit-0.25 DBI-1.52

Message body is not shown because sender requested not to inline it.

From: aa29 [...] mail.ru
I am using Test::Unit too. You can do BEGIN { unshift @ARGV, '--dbitest'; require Test::MockDBI; } instead of patching.
Subject: Re: [rt.cpan.org #23252] Problem with --dbitest as a first argument
Date: Fri, 15 Dec 2006 14:59:16 +0100
To: bug-Test-MockDBI [...] rt.cpan.org
From: "Joerg Boehme" <joerg [...] chaosdorf.de>
Create, it works :) Thanks for your hint.
Subject: Re: [rt.cpan.org #23252] Problem with --dbitest as a first argument
Date: Sat, 16 Dec 2006 09:43:16 -0500
To: bug-Test-MockDBI [...] rt.cpan.org
From: Mark Leighton Fisher <mark-fisher [...] mindspring.com>
Joerg Boehme via RT wrote: Show quoted text
> Queue: Test-MockDBI > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=23252 > > >Create, it works :) >Thanks for your hint. > >
Yes, thanks! What time I've got for Perl development is going into pmtools-perl6 at the moment. Unfortunately, I don't use Test::MockDBI at work, so my attention doesn't get drawn to it in the normal course of events. I plan to enhance it some in 2007 -- mostly fleshing out its coverage of the DBI API. Any suggestions are welcome, as usual. Patches are nice, too :) =========================== Mark Leighton Fisher mark-fisher [at] mindspring.com
On Fri Dec 15 08:59:55 2006, joerg@chaosdorf.de wrote: Show quoted text
> Create, it works :) > Thanks for your hint.
I am setting this bug to 'resolved' since the work-around was confirmed.