Unix and Linux Discussions Tagged with testing |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
16,692 |
UNIX for Advanced & Expert Users |
|
|
|
7 |
22,642 |
Programming |
|
|
|
1 |
4,504 |
UNIX for Beginners Questions & Answers |
|
|
|
18 |
30,766 |
Programming |
|
|
|
4 |
2,949 |
UNIX for Beginners Questions & Answers |
|
|
|
48 |
21,196 |
What is on Your Mind? |
|
|
|
3 |
2,078 |
What is on Your Mind? |
|
|
|
9 |
3,031 |
What is on Your Mind? |
|
|
|
6 |
6,728 |
Debian |
|
|
|
6 |
4,785 |
Linux |
|
|
|
0 |
1,037 |
Software Releases - RSS News |
|
|
|
0 |
1,223 |
Software Releases - RSS News |
|
|
|
0 |
990 |
Software Releases - RSS News |
|
|
|
0 |
1,041 |
Software Releases - RSS News |
|
|
|
0 |
1,480 |
Software Releases - RSS News |
|
|
|
0 |
886 |
Software Releases - RSS News |
|
|
|
0 |
1,064 |
Software Releases - RSS News |
|
|
|
0 |
883 |
Software Releases - RSS News |
|
|
|
0 |
771 |
Software Releases - RSS News |
|
|
|
0 |
996 |
Software Releases - RSS News |
|
|
|
0 |
1,064 |
Software Releases - RSS News |
|
|
|
0 |
894 |
Software Releases - RSS News |
|
|
|
0 |
1,002 |
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 |
932 |
Software Releases - RSS News |
|
|
|
0 |
1,035 |
Software Releases - RSS News |
|
|
|
0 |
1,542 |
IT Security RSS |
|
|
|
0 |
1,040 |
Software Releases - RSS News |
|
|
|
0 |
1,059 |
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,029 |
Software Releases - RSS News |
|
|
|
0 |
1,018 |
Software Releases - RSS News |
|
|
|
0 |
940 |
Software Releases - RSS News |
|
|
|
0 |
906 |
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)