Mock database driver for testing
65.58 KB
built 2026-10-16 18:01:56 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
29 totalRequires19
- perl(:VERSION) >= 5.8.1
- perl(DBD::Mock::Pool)
- perl(DBD::Mock::Pool::db)
- perl(DBD::Mock::Session)
- perl(DBD::Mock::StatementTrack)
- perl(DBD::Mock::StatementTrack::Iterator)
- perl(DBD::Mock::db)
- perl(DBD::Mock::dr)
- perl(DBD::Mock::st)
- perl(DBI) >= 1.3
- perl(List::Util) >= 1.27
- perl(constant)
- perl(strict)
- perl(warnings)
- perl-libs
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(PayloadFilesHavePrefix) <= 4.0-1
- rpmlib(PayloadIsZstd) <= 5.4.18-1
Provides10
- perl(DBD::Mock) = 1.59
- perl(DBD::Mock::Pool)
- perl(DBD::Mock::Pool::db)
- perl(DBD::Mock::Session)
- perl(DBD::Mock::StatementTrack)
- perl(DBD::Mock::StatementTrack::Iterator)
- perl(DBD::Mock::db)
- perl(DBD::Mock::dr)
- perl(DBD::Mock::st)
- perl-DBD-Mock = 1.59-16.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
20
Files 1–20 of 20
Component of
buildroots that installed this RPMBuildroot ![]() |
Created | State |
|---|---|---|
| f45-build-27477-624 | 2026-10-17 02:30:19 | expired |
| f45-build-23022-595 | 2026-10-16 18:30:09 | expired |
Buildroots 1–2 of 2

