Linux cpanel2.daytoncreative.net 2.6.32-754.29.2.el6.x86_64 #1 SMP Tue May 12 17:39:04 UTC 2020 x86_64
Apache/2.4.43 (cPanel) OpenSSL/1.1.1g mod_bwlimited/1.4
Server IP : 70.62.220.67 & Your IP : 216.73.216.193
Domains :
Cant Read [ /etc/named.conf ]
User : michaelgreg
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
log /
perl-5.20.2 /
cpan /
Module-Build /
t /
Delete
Unzip
Name
Size
Permission
Date
Action
actions
[ DIR ]
drwxr-xr-x
2015-02-14 16:55
bundled
[ DIR ]
drwxr-xr-x
2015-02-14 16:55
compat
[ DIR ]
drwxr-xr-x
2015-02-14 16:55
lib
[ DIR ]
drwxr-xr-x
2015-02-14 16:55
properties
[ DIR ]
drwxr-xr-x
2015-02-14 16:55
00-compile.t
357
B
-r--r--r--
2014-12-27 11:49
PL_files.t
2.18
KB
-r--r--r--
2014-12-27 11:49
README.pod
2.94
KB
-r--r--r--
2014-12-27 11:49
add_property.t
3.1
KB
-r--r--r--
2014-12-27 11:49
add_property_array.t
349
B
-r--r--r--
2014-12-27 11:49
add_property_hash.t
351
B
-r--r--r--
2014-12-27 11:49
basic.t
6.48
KB
-r--r--r--
2014-12-27 11:49
bundle_inc.t
6.02
KB
-r--r--r--
2014-12-27 11:49
compat.t
15.42
KB
-r--r--r--
2014-12-27 11:49
debug.t
555
B
-r--r--r--
2014-12-27 11:49
destinations.t
9.52
KB
-r--r--r--
2014-12-27 11:49
ext.t
5.91
KB
-r--r--r--
2014-12-27 11:49
extend.t
6.7
KB
-r--r--r--
2014-12-27 11:49
files.t
905
B
-r--r--r--
2014-12-27 11:49
help.t
5.2
KB
-r--r--r--
2014-12-27 11:49
install.t
6.03
KB
-r--r--r--
2014-12-27 11:49
install_extra_target.t
2.94
KB
-r--r--r--
2014-12-27 11:49
manifypods.t
3.53
KB
-r--r--r--
2014-12-27 11:49
manifypods_with_utf8.t
1.61
KB
-r--r--r--
2014-12-27 11:49
metadata.t
3.13
KB
-r--r--r--
2014-12-27 11:49
metadata2.t
2.93
KB
-r--r--r--
2014-12-27 11:49
mymeta.t
5.23
KB
-r--r--r--
2014-12-27 11:49
new_from_context.t
429
B
-r--r--r--
2014-12-27 11:49
notes.t
1.26
KB
-r--r--r--
2014-12-27 11:49
parents.t
1.34
KB
-r--r--r--
2014-12-27 11:49
perl_mb_opt.t
1.63
KB
-r--r--r--
2014-12-27 11:49
pod_parser.t
2.77
KB
-r--r--r--
2014-12-27 11:49
ppm.t
5.43
KB
-r--r--r--
2014-12-27 11:49
resume.t
989
B
-r--r--r--
2014-12-27 11:49
runthrough.t
4.88
KB
-r--r--r--
2014-12-27 11:49
sample.t
589
B
-r--r--r--
2014-12-27 11:49
script_dist.t
1.78
KB
-r--r--r--
2014-12-27 11:49
test_file_exts.t
959
B
-r--r--r--
2014-12-27 11:49
test_reqs.t
1.04
KB
-r--r--r--
2014-12-27 11:49
test_type.t
1.41
KB
-r--r--r--
2014-12-27 11:49
test_types.t
4.24
KB
-r--r--r--
2014-12-27 11:49
tilde.t
2.89
KB
-r--r--r--
2014-12-27 11:49
unit_run_test_harness.t
2.34
KB
-r--r--r--
2014-12-27 11:49
use_tap_harness.t
2.42
KB
-r--r--r--
2014-12-27 11:49
versions.t
502
B
-r--r--r--
2014-12-27 11:49
write_default_maniskip.t
932
B
-r--r--r--
2014-12-27 11:49
xs.t
4.38
KB
-r--r--r--
2014-12-27 11:49
Save
Rename
=head1 A GUIDE TO WRITING TESTS FOR MODULE::BUILD This document provides tips on writing new tests for Module::Build. Please note that many existing tests were written prior to these guidelines and have many different styles. Please don't copy/paste old tests by rote without considering better ways to test. See C<sample.t> for a starter test file. =head1 TEST FILE PREAMBLE Every Module::Build test should begin with the same preamble to ensure that the test library is set properly and that the correct version of Module::Build is being tested. use strict; use lib 't/lib'; use MBTest tests => 2; # or 'no_plan' blib_load('Module::Build'); The C<MBTest> module is in C<t/lib/> and subclasses Test::More. When loaded it cleans up several environment variables that could cause problems, tweaks C<@INC> and exports several helper functions. See that module for details. =head1 CREATING A TEST DISTRIBUTION The C<DistGen> module in C<t/lib/> should be used to create sample distributions for testing. It provides numerous helpful methods to create a skeleton distribution, add files, change files, and so on. Run C<perldoc> on C<t/lib/DistGen.pm> to see the documentation. # CREATE A TEST DISTRIBUTION use DistGen; # create dist object in a temp directory my $dist = DistGen->new; # enter the test distribution directory before further testing $dist->chdir_in; # generate the skeleton files $dist->regen; =head1 GETTING A MODULE::BUILD OBJECT From inside the test distribution, you can get the Module::Build object configured in Build.PL using the C<new_from_context> method on the dist object. This is just like Module::Build's C<new_from_context> except it passes C<< quiet => 1 >> to avoid sending output to the terminal. Use the Module::Build object to test the programmatic API. my $mb = $dist->new_from_context( quiet => 1 ); isa_ok( $mb, "Module::Build" ); is( $mb->dist_name, "Simple", "dist_name is 'Simple'" ); =head1 TESTING THE COMMAND LINE API The command line API is tested by running subprocesses, not via a Module::Build object. The C<DistGen> object has helper methods for running C<Build.PL> and C<Build> and passing arguments on the command line. $dist->run_build_pl( '--quiet' ); $dist->run_build( 'test' ); =head1 TYPICAL TESTING CYCLE The typical testing cycle is to generate or modify a test distribution, either through the C<DistGen> object or directly in the filesystem, then regenerate the distribution and test it (or run command line tests and observe the result.) # Modify the distribution $dist->change_build_pl( { module_name => $dist->name, license => 'artistic', } ); $dist->regen; # Get a new build object and test it $mb = $dist->new_from_context; is( $mb->license, "artistic", "saw 'artistic' license" ); =head1 COPYRIGHT This documentation is Copyright (C) 2009 by David Golden. You can redistribute it and/or modify it under the same terms as Perl 5.10.0.