
Module::Install::TestBase - Module::Install Support for YAML::Tests

# Example Makefile.PL
use inc::Module::Install;
name 'YAML::Foo';
all_from 'lib/YAML/Foo.pm';
use_yaml_tests;
WriteAll;

By adding the single line:
use_yaml_tests;
to your Module::Install based Makefile.PL, when you then run the command:
perl Makefile.PL
the YAML::Tests test files will be copied into your module's t/ directory.

If you are using YAML::Tests in your own YAML module, create a file called t/yaml_tests.yaml. Here is an example:
# YAML::Tests Config File
# The name of your module
yaml_module: YAML::Syck
# Set this to '1' if your module uses XS
use_blib: 1
# List of test components to *not* copy to your module area
exclude:
- alias.t
- null.t

Ingy döt Net <ingy@cpan.org>

Copyright (c) 2007. Ingy döt Net. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.