| 1 | Source: libtest-mockmodule-perl |
| 2 | Standards-Version: 4.7.4 |
| 3 | Maintainer: Debian Perl Group <[email protected]> |
| 4 | Uploaders: |
| 5 | Ansgar Burchardt <[email protected]>, |
| 6 | Section: perl |
| 7 | Testsuite: autopkgtest-pkg-perl |
| 8 | Build-Depends: |
| 9 | debhelper-compat (= 13), |
| 10 | libmodule-build-perl (>= 0.423400), |
| 11 | perl, |
| 12 | Build-Depends-Indep: |
| 13 | libclass-load-perl <!nocheck>, |
| 14 | libmoo-perl <!nocheck>, |
| 15 | libmoose-perl <!nocheck>, |
| 16 | libmouse-perl <!nocheck>, |
| 17 | libscalar-list-utils-perl <!nocheck>, |
| 18 | libsuper-perl <!nocheck>, |
| 19 | libtest-exception-perl <!nocheck>, |
| 20 | libtest-pod-coverage-perl <!nocheck>, |
| 21 | libtest-pod-perl <!nocheck>, |
| 22 | libtest-simple-perl <!nocheck>, |
| 23 | libtest-warnings-perl <!nocheck>, |
| 24 | Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libtest-mockmodule-perl |
| 25 | Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libtest-mockmodule-perl.git |
| 26 | Homepage: https://metacpan.org/release/Test-MockModule |
| 27 | |
| 28 | Package: libtest-mockmodule-perl |
| 29 | Architecture: all |
| 30 | Depends: |
| 31 | ${misc:Depends}, |
| 32 | ${perl:Depends}, |
| 33 | libscalar-list-utils-perl, |
| 34 | libsuper-perl, |
| 35 | Description: Perl module to override subroutines in a module for unit testing |
| 36 | Test::MockModule lets you temporarily redefine subroutines in other |
| 37 | packages for the purposes of unit testing. |
| 38 | . |
| 39 | A Test::MockModule object is set up to mock subroutines for a given |
| 40 | module. The object remembers the original subroutine so it can be |
| 41 | easily restored. This happens automatically when all MockModule |
| 42 | objects for the given module go out of scope, or when you unmock() |
| 43 | the subroutine. |