Paketname | libdbd-mock-perl |
Beschreibung | Mock database driver for testing |
Archiv/Repository | Offizielles Ubuntu Archiv lucid (universe) |
Version | 1.39-1 |
Sektion | universe/perl |
Priorität | optional |
Installierte Größe | 148 Byte |
Hängt ab von | perl (>= 5.8.1), libdbi-perl (>= 1.3) |
Empfohlene Pakete | |
Paketbetreuer | Ubuntu MOTU Developers |
Quelle | |
Paketgröße | 43436 Byte |
Prüfsumme MD5 | 314c9275a78c5b96c3adc356c2949aea |
Prüfsumme SHA1 | a41ab2c1c59b894d1b9915d9f8984aa317e30bdc |
Prüfsumme SHA256 | 233f7074d510e9bceb86d7dc85c51b775263bb32035ca88c48b5f7826dcc9345 |
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.
|