Debian Codegraph @

debian/control

raw
1 Source: libdbd-mock-perl
2 Standards-Version: 4.7.4
3 Maintainer: Debian Perl Group <[email protected]>
4 Uploaders:
5 gregor herrmann <[email protected]>,
6 Ansgar Burchardt <[email protected]>,
7 Xavier Guimard <[email protected]>,
8 Section: perl
9 Testsuite: autopkgtest-pkg-perl
10 Build-Depends:
11 debhelper-compat (= 13),
12 libmodule-build-tiny-perl,
13 Build-Depends-Indep:
14 libdbi-perl <!nocheck>,
15 libtest-exception-perl <!nocheck>,
16 libtest-pod-coverage-perl <!nocheck>,
17 libtest-pod-perl <!nocheck>,
18 perl,
19 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libdbd-mock-perl
20 Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libdbd-mock-perl.git
21 Homepage: https://metacpan.org/release/DBD-Mock
22
23 Package: libdbd-mock-perl
24 Architecture: all
25 Depends:
26 ${misc:Depends},
27 ${perl:Depends},
28 libdbi-perl,
29 Description: Mock database driver for testing
30 Testing with databases can be tricky. If you are developing a system married
31 to a single database then you can make some assumptions about your
32 environment and ask the user to provide relevant connection information. But
33 if you need to test a framework that uses DBI, particularly a framework that
34 uses different types of persistence schemes, then it may be more useful to
35 simply verify what the framework is trying to do -- ensure the right SQL is
36 generated and that the correct parameters are bound. DBD::Mock makes it easy
37 to just modify your configuration (presumably held outside your code) and
38 just use it instead of DBD::Foo (like DBD::Pg or DBD::mysql) in your
39 framework.