use M::I for test_requires for Cat. Also add the standard MANIFEST.SKIP.
[scpubgit/Test-Harness-Selenium.git] / apiv2
1 * stuff users call
2
3 sub new(%hash)
4   browser => which browser to test
5   app_base => base of app
6   $ENV{SELENIUM_RC_HOST/_PORT_START}  || $selenium_rc{qw/host port start}
7   these are used for finding where to run the selenium RC server
8   default of selenium_rc => { host => 'localhost', port => 6900+$UID, start => 1 }
9
10 method test_directory($dir)
11   finds HTML files in $dir, calls run_tests_for on them
12   starts necessary servers as appropriate
13
14 method start_app_server
15   starts the associated Cat server
16
17 method stop_app_server
18   derp
19
20 * stuff THS calls, users might call
21
22 method start_selenium_server
23   starts the selenium server if local, otherwise tries to connect to it
24
25 method stop_selenium_server
26   derp
27
28 method run_tests_for($html_file)
29   uses Socialtext::WikiFixture::Selenese to run $html_file against selenium
30   server
31
32 * private stuff
33
34 method _get_rows_for($html_file)
35   reads $html_file and returns data that S::WF::S understands
36
37 method DESTROY
38   shuts down servers as appropriate