Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Dear release team, I ask for a freeze exception for phpunit-selenium/1.2.6-3 This upload introduces a README.Debian file with vital information for using this set of classes. The attached file was produced using debdiff phpunit-selenium_1.2.6-2.dsc phpunit-selenium_1.2.6-3.dsc > phpunit-selenium_1.2.6-2:1.2.6-3.diff Thanks -- Luis Uribe http://eviled.org
diff -Nru phpunit-selenium-1.2.6/debian/changelog phpunit-selenium-1.2.6/debian/changelog --- phpunit-selenium-1.2.6/debian/changelog 2012-05-31 00:25:31.000000000 -0500 +++ phpunit-selenium-1.2.6/debian/changelog 2012-07-31 15:00:26.000000000 -0500 @@ -1,3 +1,12 @@ +phpunit-selenium (1.2.6-3) unstable; urgency=low + + * debian/README.Debian + Adding file + * debian/control + Adding DM-Upload-Allowed + + -- Luis Uribe <a...@eviled.org> Tue, 31 Jul 2012 14:44:17 -0500 + phpunit-selenium (1.2.6-2) unstable; urgency=low * Replaces: phpunit (<< 3.6) and Depends: phpunit (>= 3.6) (Closes: #675275). diff -Nru phpunit-selenium-1.2.6/debian/control phpunit-selenium-1.2.6/debian/control --- phpunit-selenium-1.2.6/debian/control 2012-05-31 00:25:31.000000000 -0500 +++ phpunit-selenium-1.2.6/debian/control 2012-07-31 15:00:26.000000000 -0500 @@ -7,6 +7,7 @@ Build-Depends-Indep: php-pear Standards-Version: 3.9.3 Homepage: https://github.com/sebastianbergmann/phpunit-selenium +DM-Upload-Allowed: yes Vcs-Git: git://git.debian.org/pkg-php/phpunit-selenium.git Vcs-Browser: http://git.debian.org/?p=pkg-php/phpunit-selenium.git diff -Nru phpunit-selenium-1.2.6/debian/README.Debian phpunit-selenium-1.2.6/debian/README.Debian --- phpunit-selenium-1.2.6/debian/README.Debian 1969-12-31 19:00:00.000000000 -0500 +++ phpunit-selenium-1.2.6/debian/README.Debian 2012-07-31 15:00:26.000000000 -0500 @@ -0,0 +1,35 @@ +In order to run test that uses phpunit-selenium you need to download the +Selenium Server from http://seleniumhq.org/download/ (the actual supported +version of the server is 2.23) and start it with: + + java -jar selenium-server-standalone-X.XX.X.jar + +The Selenium Server receives Selenium commands from your tests and +interprets them, and reports back the results of running those tests. + +An example phpunit test: + <?php + require_once 'PHPUnit/Extensions/SeleniumTestCase.php'; + + class Example extends PHPUnit_Extensions_SeleniumTestCase + { + function setUp() + { + $this->setBrowser("*firefox"); + $this->setBrowserUrl("http://www.debian.org/"); + } + + function testMyTestCase() + { + $this->open("/"); + $this->assertTrue($this->isTextPresent("debian")); + } + } + ?> + +For this test to run, you have to install iceweasel and make a link +from /usr/bin/firefox to /usr/bin/iceweasel (You may want to save a +copy of the script originally installed in /usr/bin/firefox) + +You can find documentation about how to write tests at +http://seleniumhq.org/docs/05_selenium_rc.html \ No newline at end of file
signature.asc
Description: Digital signature