Paketname | libdbd-mock-perl |
Beschreibung | Mock database driver for testing |
Archiv/Repository | Offizielles Debian Archiv squeeze (main) |
Version | 1.39-1 |
Sektion | perl |
Priorität | optional |
Installierte Größe | 148 Byte |
Hängt ab von | perl (>= 5.8.1), libdbi-perl (>= 1.3) |
Empfohlene Pakete | |
Paketbetreuer | Debian Perl Group |
Quelle | |
Paketgröße | 42992 Byte |
Prüfsumme MD5 | 3b974a9e90e90522e43c5c8045081337 |
Prüfsumme SHA1 | bec95efd3d71456ec036bed45c0c5ef3b563b47b |
Prüfsumme SHA256 | df06e950c136747587edc1032ca71af8f54a4b4051904f99c14a00555685b61a |
Link zum Herunterladen | libdbd-mock-perl_1.39-1_all.deb |
Ausführliche Beschreibung | 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.
|