[Bug 231753] New: Review Request: perl-DBD-Mock - Mock database driver for testing

bugzilla at redhat.com bugzilla at redhat.com
Sun Mar 11 07:24:04 UTC 2007


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.




https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=231753

           Summary: Review Request: perl-DBD-Mock - Mock database driver for
                    testing
           Product: Fedora Extras
           Version: devel
          Platform: All
               URL: http://search.cpan.org/dist/DBD-Mock/
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: normal
         Component: Package Review
        AssignedTo: nobody at fedoraproject.org
        ReportedBy: cweyl at alumni.drew.edu
         QAContact: fedora-package-review at redhat.com


SRPM URL: http://home.comcast.net/~ckweyl/perl-DBD-Mock-1.34-1.fc6.src.rpm
SPEC URL: http://home.comcast.net/~ckweyl/perl-DBD-Mock.spec

Description:
Testing with databases can be tricky. If you are developing a system
married to a single database then you can make some assumptions about your
environment and ask the user to provide relevant connection information.
But if you need to test a framework that uses DBI, particularly a framework
that uses different types of persistence schemes, then it may be more
useful to simply verify what the framework is trying to do -- ensure the
right SQL is generated and that the correct parameters are bound. DBD::Mock
makes it easy to just modify your configuration (presumably held outside
your code) and just use it instead of DBD::Foo (like DBD::Pg or DBD::mysql)
in your framework.

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the Fedora-package-review mailing list