[a206343] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY my-download-http "&metacpan_authors;/G/GF/GFRANKS/Test-MockModule-&Test-MockModule-version;.tar.gz">
|
---|
[46dfbe3] | 8 | <!ENTITY my-md5sum "f36bd9aee0349430c434dc1d06b03589">
|
---|
[a206343] | 9 |
|
---|
| 10 | ]>
|
---|
| 11 |
|
---|
| 12 | <!-- Begin Test::MockModule -->
|
---|
| 13 | <sect2 id="perl-test-mockmodule" xreflabel="Test-MockModule-&Test-MockModule-version;">
|
---|
| 14 |
|
---|
| 15 | <title>Test::MockModule-&Test-MockModule-version;</title>
|
---|
| 16 |
|
---|
| 17 | <indexterm zone="perl-test-mockmodule">
|
---|
| 18 | <primary sortas="a-Test-MockModule">Test::MockModule</primary>
|
---|
| 19 | </indexterm>
|
---|
| 20 |
|
---|
| 21 | <sect3 role="package">
|
---|
| 22 | <title>Introduction to Test::MockModule</title>
|
---|
| 23 |
|
---|
| 24 | <para>
|
---|
| 25 | Test::MockModule lets you temporarily redefine subroutines in other
|
---|
| 26 | packages for the purposes of unit testing.
|
---|
| 27 | </para>
|
---|
| 28 |
|
---|
[dc1a45e] | 29 | &lfs113_checked;
|
---|
[a206343] | 30 |
|
---|
| 31 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 32 | <itemizedlist spacing="compact">
|
---|
| 33 | <listitem>
|
---|
| 34 | <para>
|
---|
| 35 | Download (HTTP): <ulink url="&my-download-http;"/>
|
---|
| 36 | </para>
|
---|
| 37 | </listitem>
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>
|
---|
| 40 | Download MD5 sum: &my-md5sum;
|
---|
| 41 | </para>
|
---|
| 42 | </listitem>
|
---|
| 43 | </itemizedlist>
|
---|
| 44 |
|
---|
| 45 | <bridgehead renderas="sect4">Test::MockModule Dependencies</bridgehead>
|
---|
| 46 |
|
---|
| 47 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 48 | <para role="required">
|
---|
[b3f19e5] | 49 | <xref linkend="perl-module-build"/> and
|
---|
[a206343] | 50 | <xref linkend="perl-super"/>
|
---|
| 51 | </para>
|
---|
| 52 |
|
---|
[48771ae] | 53 | <bridgehead renderas="sect5">Recommended (required for the test suite)</bridgehead>
|
---|
[a206343] | 54 | <para role="recommended">
|
---|
[4392a40] | 55 | <xref linkend="perl-test-warnings"/>
|
---|
[a206343] | 56 | </para>
|
---|
| 57 |
|
---|
| 58 | </sect3>
|
---|
| 59 |
|
---|
| 60 | <sect3 role="installation">
|
---|
| 61 | <title>Installation of Test::MockModule</title>
|
---|
| 62 |
|
---|
| 63 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 64 | href="../../../xincludes/perl-build-install.xml"/>
|
---|
| 65 |
|
---|
| 66 | </sect3>
|
---|
| 67 |
|
---|
| 68 | </sect2>
|
---|