Test::Warn provides a few convenience methods for testing warning based
code.
If you've ever tried to use Test::NoWarnings to confirm there are no warnings
generated by your tests, combined with the convenience of done_testing to not
have to declare a test count, you'll have discovered that these two features do
not play well together, as the test count will be calculated before the warnings
test is run, resulting in a TAP error. (See examples/test_nowarnings.pl in this
distribution for a demonstration.)
This module is intended to be used as a drop-in replacement for
Test::NoWarnings: it also adds an extra test, but runs this test before
done_testing calculates the test count, rather than after. It does this by
hooking into done_testing as well as via an END block. You can declare a plan,
or not, and things will still Just Work.
Tests for Valid XHTML (using XML::LibXML). If the XML is not valid,
a message will be generated with specific details about where the
parser failed.
This module provides tools for testing code which deals with XML.
These tools are compatible with the Test::More and Test::Simple
modules. At present, there is generic XML comparison support, as
well as modules for dealing with XML::SAX, XML::Twig and XML::XPath
handlers.
Test::YAML::Meta - Validation of the META.yml file in a distribution.
This module lets you easily test the validity of YAML.
Testing Module for YAML Implementations.
Test::YAML is a subclass of Test::Base with YAML specific support.
The accessors pragma lets you create simple accessors at compile-time.
This saves you from writing them by hand, which tends to result in cut-n-paste
errors and a mess of duplicated code. It can also help you reduce the amount
of unwanted direct-variable access that may creep into your code base when
you're feeling lazy. accessors was designed with laziness in mind.
Method-chaining accessors are generated by default. This may be changed in
future versions! If you want backwards compatibility use accessors::chained
and wait until the dust settles.
See accessors::classic for accessors that always return the current value if
you don't like method chaining.
aliased is simple in concept but is a rather handy module. It loads the class
you specify and exports into your namespace a subroutine that returns the
class name. You can explicitly alias the class to another name or, if you
prefer, you can do so implicitly. In the latter case, the name of the
subroutine is the last part of the class name.
Lets your class/object say it works like something else.