HTTP-WebTest
view release on metacpan or search on metacpan
* Port self-testing suite from Test to Test::More.
* HTTP::WebTest allows to specify non-default parser for wtscript
files.
* Now HTTP::WebTest::Parser can generate wtscript files from test
parameters.
DEPRECATIONS:
* Subroutines 'start_webserver' and 'stop_webserver' was moved from
HTTP::WebTest::SelfTest to HTTP::WebTest::Utils. They still can be
exported from HTTP::WebTest::SelfTest but their usage from this module
is deprecated.
BUG FIXES:
* New versions of LWP add Client-Peer header in all responses what
breaks one of tests in the self-testing suite. This test is fixed so
it should pass ok with both new and old versions of LWP. Thanks to
Johannes la Poutre for bug report.
* Test in the self-testing suite for 'timeout' parameter was buggy and
could fail on some machines. Thanks to Johannes la Poutre for bug
report.
* HTTP::WebTest::Plugin::HarnessReport produced a report output on
STDERR what was adding some noise in 'make test' output when being
used in Test::Harness-style test suites.
2.00 Sat Dec 14 2002
ENHANCEMENTS:
* Allow plugins to insert tests into the test queue during test
sequence runtime. Inspired by Paul Hamingson's patch.
* New core test parameter 'relative_urls' which enables HTTP-WebTest
to use relative URLs in tests.
* New core test parameter 'timeout' which allows to control user agent
timeout settings while running test sequence.
* Moved self-test suite support code into module
HTTP::WebTest::SelfTest to allow reusing it in self-test suites for
plugins maintained outside of HTTP-WebTest.
INCOMPATIBILITIES:
* HTTP::WebTest::Plugin::Apache plugin have been removed from
HTTP::WebTest and will be released as independent CPAN module. It
will no longer be loaded by default even if it is available.
* Renamed all last_xxx methods to current_xxx since the latest naming
schema is less confusing.
* HTTP::WebTest::Plugin::HarnessReport is rewritten using
Test::Builder. As a side effect you can now freely intermix
HTTP::WebTest based tests with tests written using other testing
libraries like Test::More or Test::Differences. Unfortunately this
change breaks existing test scripts which were using
HTTP::WebTest::Plugin::HarnessReport because now number of tests in
test scripts should be declared explictly with 'use Test::More plan =>
NN' or 'use Test::More qw(no_plan)'.
BUG FIXES:
* Fixed some minor documentation bugs. Thanks to William McKee.
* Allow to use $webtest->last_xxx method calls after running test
sequence with $webtest->run_tests. Thanks to Kevin Baker for patch.
1.99_09 Thu Aug 22 2002
ENHANCEMENTS:
* New core test parameter 'status_code' which allows to test HTTP
responses for non-OK (200) status codes. Thanks to Paul Hamingson for
implementation.
* New core test parameter 'handle_redirects' which allows to disable
optionally automatic handling of redirects by HTTP-WebTest.
* New test parameter 'form_name' in HTTP::WebTest::Plugin::Click
plugin. Thanks to Paul Hamingson for patch.
* Test parameter 'click_button' in HTTP::WebTest::Plugin::Click plugin
now supports image buttons (i.e. <input type="image" ...>). Thanks to
Paul Hamingson for patch.
* Added two test parameters 'on_start' and 'on_finish' to
HTTP::WebTest::Plugin::Hook plugin.
* Extended example 'User-Defined Tests' in Cookbook. Suggested by
William McKee.
BUG FIXES:
* Previously comments inside of list parameters in wtscript files were
not allowed. Reported by William McKee.
* Fixed 'make test' failure on Perl 5.8.0.
1.99_08 Wed Jul 31 2002
ENHANCEMENTS:
* New plugin HTTP::WebTest::Plugin::Delay by Duncan Cameron.
* License change: previously HTTP-WebTest have been licensed under
terms of Artistic license. Starting from this release HTTP-WebTest is
dual licensed under terms of GPL/Artistic licenses like Perl itself.
* Docs are edited for style and grammar. Thanks to Richard Anderson.
* Parser of wtscript files supports nested lists as values for list
parameters.
* 'cookies' parameter supports new named style of cookie
specifications. See HTTP::WebTest::Plugin::Cookies for details.
( run in 0.747 second using v1.01-cache-2.11-cpan-39bf76dae61 )