This document summarizes server-side and client-side testing approaches and tools. It then introduces TRunner, an open source test runner tool inspired by Selenium and inspired to support converting HTML test suites to YAML format. The document demonstrates using TRunner, including its file structure and how to fork and use it to run own test suites.
4. Catalyst::Test
Test::Mock Test::Continuous
Object
Server-side Test
Test::Most UnitTest?
$ prove t/*.t
$ make test
TAP Test::Harness
Test::More
Test::Base
16. USE its own TestSuite/Case
Format
Make TestSuite/Case
(Selenium IDE - FF )
$ perl htmlsuite2yaml.pl
[htmlsuite]
`selenium.yml`
17. Just F...ing Do It
use Plack::Builder;
use MyApp;
my $app = MyApp->run;
builder {
mount "/selenium" => builder {
Plack::Util::load_psgi '/path/to/trunner/bin/app.pl';
};
mount "/" => $app;
};