[Http-webtest-commits] HTTP-WebTest/lib/HTTP/WebTest Cookbook.pod,1.17,1.18
Brought to you by:
m_ilya,
richardanderson
From: Ilya M. <m_...@us...> - 2002-12-13 01:23:19
|
Update of /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest In directory sc8-pr-cvs1:/tmp/cvs-serv29342/lib/HTTP/WebTest Modified Files: Cookbook.pod Log Message: HTTP::WebTest::Plugin::HarnessReport is rewritten using Test::Builder. As side effect now you can 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)'. Index: Cookbook.pod =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/Cookbook.pod,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** Cookbook.pod 12 Dec 2002 23:22:15 -0000 1.17 --- Cookbook.pod 13 Dec 2002 01:23:11 -0000 1.18 *************** *** 135,138 **** --- 135,139 ---- generates L<Test::Harness|Test::Harness> compatible output: + use Test::More qw(no_plan); use HTTP::WebTest; *************** *** 143,146 **** --- 144,156 ---- plugins => [ '::HarnessReport' ] }); + + This script uses reporting plugin + L<HTTP::WebTest::Plugin::HarnessReport|HTTP::WebTest::Plugin::HarnessReport> + which internally uses L<Test::Builder|Test::Builder> module to + generate L<Test::Harness|Test::Harness> compatible output. It should + be compatible with other testing libraries (like + L<Test::More|Test::More> or L<Test::Differences|Test::Differences>) + built using L<Test::Builder|Test::Builder> so you can freely intermix + them in one test script. =head2 User-Defined Tests |