Unix and Linux Discussions Tagged with testing |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
16,606 |
UNIX for Advanced & Expert Users |
|
|
|
7 |
22,465 |
Programming |
|
|
|
1 |
4,458 |
UNIX for Beginners Questions & Answers |
|
|
|
18 |
30,550 |
Programming |
|
|
|
4 |
2,938 |
UNIX for Beginners Questions & Answers |
|
|
|
48 |
21,080 |
What is on Your Mind? |
|
|
|
3 |
2,047 |
What is on Your Mind? |
|
|
|
9 |
2,990 |
What is on Your Mind? |
|
|
|
6 |
6,712 |
Debian |
|
|
|
6 |
4,783 |
Linux |
|
|
|
0 |
1,032 |
Software Releases - RSS News |
|
|
|
0 |
1,220 |
Software Releases - RSS News |
|
|
|
0 |
990 |
Software Releases - RSS News |
|
|
|
0 |
1,038 |
Software Releases - RSS News |
|
|
|
0 |
1,478 |
Software Releases - RSS News |
|
|
|
0 |
885 |
Software Releases - RSS News |
|
|
|
0 |
1,062 |
Software Releases - RSS News |
|
|
|
0 |
883 |
Software Releases - RSS News |
|
|
|
0 |
770 |
Software Releases - RSS News |
|
|
|
0 |
994 |
Software Releases - RSS News |
|
|
|
0 |
1,062 |
Software Releases - RSS News |
|
|
|
0 |
890 |
Software Releases - RSS News |
|
|
|
0 |
1,001 |
Software Releases - RSS News |
|
|
|
0 |
933 |
Software Releases - RSS News |
|
|
|
0 |
884 |
Software Releases - RSS News |
|
|
|
0 |
1,290 |
Software Releases - RSS News |
|
|
|
6 |
2,501 |
Shell Programming and Scripting |
|
|
|
0 |
875 |
Software Releases - RSS News |
|
|
|
0 |
931 |
Software Releases - RSS News |
|
|
|
0 |
1,034 |
Software Releases - RSS News |
|
|
|
0 |
1,541 |
IT Security RSS |
|
|
|
0 |
1,039 |
Software Releases - RSS News |
|
|
|
0 |
1,058 |
Software Releases - RSS News |
|
|
|
0 |
845 |
Software Releases - RSS News |
|
|
|
0 |
5,909 |
UNIX and Linux Applications |
|
|
|
0 |
898 |
Software Releases - RSS News |
|
|
|
0 |
1,026 |
Software Releases - RSS News |
|
|
|
0 |
1,013 |
Software Releases - RSS News |
|
|
|
0 |
937 |
Software Releases - RSS News |
|
|
|
0 |
900 |
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)