| Apache2::ASP::Test::Base - base class for all test helper objects. |
Apache2::ASP::Test::Base - base class for all test helper objects.
#!/usr/bin/perl -w use strict; use warnings 'all'; use Test::More 'no_plan'; use Apache2::ASP::Test::Base; ok( my $t = Apache2::ASP::Test::Base->new() ); my $res = $t->ua->get("/index.asp"); ok( $res->is_success ); is( $res->header('location') => undef );
The whole point of writing Apache2::ASP was to enable command-line testing of entire websites - and to gather statistics via the Devel::Cover manpage and the Devel::NYTProf manpage.
Somehow the test-driven-development world completely missed the point:
YOU HAVE GOT TO TEST YOUR WEB PAGES SOMEHOW!!
Apache2::ASP and this class provide an excellent means of doing that.
See the /t folder in this distribution for several examples of testing different
kinds of functionality with Apache2::ASP::Test::Base.
Returns the current the Apache2::ASP::Test::UserAgent manpage object.
Shortcut method to the current the Apache2::ASP::Config manpage object.
Shortcut method to the current the Data::Properties::YAML manpage object
representing the test fixtures found in /etc/test_fixtures.yaml
Shortcut method to the current the Data::Properties::YAML manpage object
representing the properties found in /etc/properties.yaml
Shortcut method to the current the Apache2::ASP::SessionStateManager manpage object.
It's possible that some bugs have found their way into this release.
Use RT http://rt.cpan.org/NoAuth/Bugs.html to submit bug reports.
Please visit the Apache2::ASP homepage at http://www.devstack.com/ to see examples of Apache2::ASP in action.
John Drago mailto:jdrago_999@yahoo.com
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.
| Apache2::ASP::Test::Base - base class for all test helper objects. |