NAME
Apache2::ASP::Test::Fixtures - Simle text fixtures for Apache2::ASP web applications.
SYNOPSIS
my $data = Apache2::ASP::Test::Fixtures->new(
properties_file => $config->application_root . '/etc/test_fixtures.yaml'
);
print $data->message->greeting->english;
METHODS
as_hash( )
Returns a hash or hashref or your test fixture data, depending on the context in which this method is called.
PUBLIC PROPERTIES
Each top-level node in your YAML file is assigned a public accessor.
So if your YAML looks something like this
---
message:
greeting:
english: Hello
spanish: Hola
french: Bonjour
You would get an object with a public accessor named message with an accessor named greeting with accessors named english, spanish and french.
BUGS
It's possible that some bugs have found their way into this release.
Use RT http://rt.cpan.org/NoAuth/Bugs.html?Dist=Apache2-ASP to submit bug reports.
HOMEPAGE
Please visit the Apache2::ASP homepage at http://www.devstack.com/ to see examples of Apache2::ASP in action.
AUTHOR
John Drago mailto:jdrago_999@yahoo.com
COPYRIGHT AND LICENSE
Copyright 2007 John Drago, All rights reserved.
This software is free software. It may be used and distributed under the same terms as Perl itself.