libtest-mockdbi-perl

mocked DBI interface for testing purposes

Description

Test::MockDBI has a major advantage over DBI::trace() or DBD::Mock -- Test::MockDBI lets you change how the mocked DBI functions behave, along with modifying what data is returned by the mocked DBI functions. These changes and modifications can be made specific to particular SQL statement patterns.

This ability to modify DBI function behavior and DBI-returned data makes it easier to test code that has different branches for different DBI behaviors -- you can test that a failure within DBI or returned DB data that is different than normal is processed correctly by your module or program. If you are taking over a large code base, Test::MockDBI will help in understanding the code by allowing you to safely check how the code behaves under different database conditions without modifying any databases (production or otherwise).

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/Test-MockDBI


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libtest-mockdbi-perl