Unix and Linux Discussions Tagged with testing |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
16,710 |
UNIX for Advanced & Expert Users |
|
|
|
7 |
22,668 |
Programming |
|
|
|
1 |
4,513 |
UNIX for Beginners Questions & Answers |
|
|
|
18 |
30,804 |
Programming |
|
|
|
4 |
2,956 |
UNIX for Beginners Questions & Answers |
|
|
|
48 |
21,207 |
What is on Your Mind? |
|
|
|
3 |
2,081 |
What is on Your Mind? |
|
|
|
9 |
3,036 |
What is on Your Mind? |
|
|
|
6 |
6,730 |
Debian |
|
|
|
6 |
4,785 |
Linux |
|
|
|
0 |
1,037 |
Software Releases - RSS News |
|
|
|
0 |
1,224 |
Software Releases - RSS News |
|
|
|
0 |
991 |
Software Releases - RSS News |
|
|
|
0 |
1,042 |
Software Releases - RSS News |
|
|
|
0 |
1,480 |
Software Releases - RSS News |
|
|
|
0 |
886 |
Software Releases - RSS News |
|
|
|
0 |
1,065 |
Software Releases - RSS News |
|
|
|
0 |
883 |
Software Releases - RSS News |
|
|
|
0 |
771 |
Software Releases - RSS News |
|
|
|
0 |
997 |
Software Releases - RSS News |
|
|
|
0 |
1,064 |
Software Releases - RSS News |
|
|
|
0 |
894 |
Software Releases - RSS News |
|
|
|
0 |
1,003 |
Software Releases - RSS News |
|
|
|
0 |
936 |
Software Releases - RSS News |
|
|
|
0 |
886 |
Software Releases - RSS News |
|
|
|
0 |
1,291 |
Software Releases - RSS News |
|
|
|
6 |
2,501 |
Shell Programming and Scripting |
|
|
|
0 |
876 |
Software Releases - RSS News |
|
|
|
0 |
934 |
Software Releases - RSS News |
|
|
|
0 |
1,036 |
Software Releases - RSS News |
|
|
|
0 |
1,542 |
IT Security RSS |
|
|
|
0 |
1,042 |
Software Releases - RSS News |
|
|
|
0 |
1,060 |
Software Releases - RSS News |
|
|
|
0 |
846 |
Software Releases - RSS News |
|
|
|
0 |
5,911 |
UNIX and Linux Applications |
|
|
|
0 |
901 |
Software Releases - RSS News |
|
|
|
0 |
1,031 |
Software Releases - RSS News |
|
|
|
0 |
1,019 |
Software Releases - RSS News |
|
|
|
0 |
940 |
Software Releases - RSS News |
|
|
|
0 |
907 |
Software Releases - RSS News |
Apache::TestHandler(3) User Contributed Perl Documentation Apache::TestHandler(3)
NAME
Apache::TestHandler - a few response handlers and helpers
SYNOPSIS
package My::Test;
use Apache::TestHandler ();
sub handler {
my ($r) = @_;
my $result = do_my_test;
Apache::TestHandler::ok1 $r, $result;
}
sub handler2 {
my ($r) = @_;
my $result = do_my_test;
Apache::TestHandler::ok $r, $result;
}
DESCRIPTION
"Apache::TestHandler" provides 2 very simple response handler.
FUNCTIONS
ok $r, $boolean
The handler simply prints out "ok" or "not ok" depending on the optional $boolean parameter.
If $boolean is omitted "true" is assumed.
ok1 $r, $boolean
This handler implements a simple response-only test. It can be used on its own to check if for a certain URI the response phase is
reached. Or it can be called like a normal function to print out the test result. The client side is automatically created as described
in <http://perl.apache.org/docs/general/testing/testing.html#Developing_Response_only_Part_of_a_Test>.
$boolean is optional. If omitted "true" is assumed.
same_interp_counter
same_interp_fixup
TODO
SEE ALSO
The Apache-Test tutorial: <http://perl.apache.org/docs/general/testing/testing.html>.
Apache::Test.
AUTHOR
Doug MacEachern, Geoffrey Young, Stas Bekman, Torsten Foertsch and others.
Questions can be asked at the test-dev <at> httpd.apache.org list For more information see: http://httpd.apache.org/test/.
perl v5.18.2 2015-06-18 Apache::TestHandler(3)