Unix and Linux Discussions Tagged with testing |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
16,770 |
UNIX for Advanced & Expert Users |
|
|
|
7 |
22,750 |
Programming |
|
|
|
1 |
4,552 |
UNIX for Beginners Questions & Answers |
|
|
|
18 |
30,934 |
Programming |
|
|
|
4 |
2,981 |
UNIX for Beginners Questions & Answers |
|
|
|
48 |
21,358 |
What is on Your Mind? |
|
|
|
3 |
2,103 |
What is on Your Mind? |
|
|
|
9 |
3,056 |
What is on Your Mind? |
|
|
|
6 |
6,753 |
Debian |
|
|
|
6 |
4,799 |
Linux |
|
|
|
0 |
1,041 |
Software Releases - RSS News |
|
|
|
0 |
1,225 |
Software Releases - RSS News |
|
|
|
0 |
992 |
Software Releases - RSS News |
|
|
|
0 |
1,043 |
Software Releases - RSS News |
|
|
|
0 |
1,482 |
Software Releases - RSS News |
|
|
|
0 |
888 |
Software Releases - RSS News |
|
|
|
0 |
1,065 |
Software Releases - RSS News |
|
|
|
0 |
883 |
Software Releases - RSS News |
|
|
|
0 |
773 |
Software Releases - RSS News |
|
|
|
0 |
1,000 |
Software Releases - RSS News |
|
|
|
0 |
1,065 |
Software Releases - RSS News |
|
|
|
0 |
894 |
Software Releases - RSS News |
|
|
|
0 |
1,003 |
Software Releases - RSS News |
|
|
|
0 |
938 |
Software Releases - RSS News |
|
|
|
0 |
886 |
Software Releases - RSS News |
|
|
|
0 |
1,292 |
Software Releases - RSS News |
|
|
|
6 |
2,501 |
Shell Programming and Scripting |
|
|
|
0 |
879 |
Software Releases - RSS News |
|
|
|
0 |
936 |
Software Releases - RSS News |
|
|
|
0 |
1,040 |
Software Releases - RSS News |
|
|
|
0 |
1,543 |
IT Security RSS |
|
|
|
0 |
1,044 |
Software Releases - RSS News |
|
|
|
0 |
1,061 |
Software Releases - RSS News |
|
|
|
0 |
846 |
Software Releases - RSS News |
|
|
|
0 |
5,917 |
UNIX and Linux Applications |
|
|
|
0 |
902 |
Software Releases - RSS News |
|
|
|
0 |
1,031 |
Software Releases - RSS News |
|
|
|
0 |
1,020 |
Software Releases - RSS News |
|
|
|
0 |
942 |
Software Releases - RSS News |
|
|
|
0 |
908 |
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)