=cut
-our $VERSION = '0.00_01';
+our $VERSION = '0.01';
-=head1 DEVELOPER RELEASE
+=head1 DEVELOPERISH RELEASE
-This is a developer release. It's working for me in production, but
+This is still a test release. It's working for me in production, but
it depends on a Java application (SeleniumRC), which can be
unreliable. On my Debian system, I had to put C<firefox-bin> in my
path, and add C</usr/lib/firefox> to C<LD_LIBRARY_PATH>. Every distro
Please report any problems to RT, the Catalyst mailing list, or the
#catalyst IRC channel on L<irc.perl.org>. Thanks!
-=head2 KNOWN ISSUES
-
-Sometimes the Selenium server doesn't die after the tests when running
-under C<make test>. C<prove> works fine, so until I (or you!) figure
-out the problem, use C<prove>.
-
=head1 SYNOPSIS
use Test::WWW::Selenium::Catalyst 'MyApp';
This module starts the SeleniumRC server and your Catalyst app so that
you can test it with SeleniumRC. Once you've called
-C<Test::WWW::Selenium::Catalyst->start>, everything is just like
+C<< Test::WWW::Selenium::Catalyst->start >>, everything is just like
L<Test::WWW::Selenium|Test::WWW:Selenium>.
=head1 FUNCTIONS
my $pid;
if(0 == ($pid = fork())){
local $SIG{TERM} = sub {
- diag("Selenium server $$ going down (TERM)");
+ diag("Selenium server $$ going down (TERM)") if $DEBUG;
exit 0;
};
if(!$DEBUG){
close *STDERR;
close *STDOUT;
- close *STDIN;
+ #close *STDIN;
}
diag("Selenium running in $$") if $DEBUG;