Mock database driver for testing
97.26 KB
built 2026-10-16 18:01:32 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.
Dependencies
20 totalRequires18
- coreutils
- findutils
- perl(:VERSION) >= 5.8.1
- perl(Config)
- perl(DBI) >= 1.3
- perl(List::Util) >= 1.27
- perl(Module::Build::Tiny) >= 0.035
- perl(Test::Exception) >= 0.31
- perl(Test::More) >= 0.47
- perl(Test::Pod) >= 1.14
- perl(Test::Pod::Coverage) >= 1.04
- perl(constant)
- perl(strict)
- perl(warnings)
- perl-generators
- perl-interpreter
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides2
- perl-DBD-Mock = 1.59-16.fc45
- perl-DBD-Mock-tests = 1.59-16.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| DBD-Mock-1.59.tar.gz | 73.76 KB |
| perl-DBD-Mock.spec | 11.78 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
