perl-DBD-Mock
Mock database driver for testing
SRPM: perl-DBD-Mock-1.36-1.n0i.2.fc8.src.rpm SPEC: perl-DBD-Mock.spec Version: 1.36 Release: 1.n0i.2.fc8 Epoch: License: GPL+ or Artistic Group: Development/Libraries Size: 39805 Packager: Marius Feraru <altblue@n0i.net> Vendor: n0i.net URL: http://search.cpan.org/dist/DBD-Mock/ Date: Sat Oct 20 2007, 08:03 GMT
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.
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.
Changelog:
- Sat Oct 20 2007 Marius Feraru <altblue@n0i.net> - 1.36-1.n0i.2
- version 1.36 - Sun Aug 12 2007 Marius Feraru <altblue@n0i.net> - 1.35-1.n0i.1
- spec file (re)created using N0i::CPAN::RPMizer/1.14.9
- version 1.35
Files:
- DBD-Mock-1.36.tar.gz
- perl-DBD-Mock.spec
Requires:
- perl(DBI)
- perl(ExtUtils::MakeMaker)
- perl(Test::More)
- rpm-build-reb00t-perl
- rpmlib(CompressedFileNames)