Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.4.4

Request #16472 Unit tests fail (directory structure)
Submitted: 2009-07-25 12:08 UTC
From: doconnor Assigned: doconnor
Status: Closed Package: Testing_Selenium (version CVS)
PHP Version: 5.2.5 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2009-07-25 12:08 UTC] doconnor (Daniel O'Connor)
Description: ------------ If you change the directory structure (and package.xml); your package will integrate with the overnight test runs. Now we've got SVN, it's pretty easy: svn mkdir Testing svn mv Selenium.php Testing/ See also: http://www.lauken.com/doconnor/phpunit_results.txt Test script: --------------- cd /home/clockwerx/pear-svn/packages/Testing_Selenium/trunk/ php tests/AllTests.php Expected result: ---------------- Tests run Actual result: -------------- /home/clockwerx/pear-svn/packages/Testing_Selenium/trunk/tests/AllTests.php Warning: require_once(Testing/Selenium.php): failed to open stream: No such file or directory in /home/clockwerx/pear-svn/packages/Testing_Selenium/trunk/tests/SeleniumTest.php on line 8 Call Stack: 0.0007 55856 1. {main}() /home/clockwerx/pear-svn/packages/Testing_Selenium/trunk/tests/AllTests.php:0 0.1741 3764196 2. require_once('/home/clockwerx/pear-svn/packages/Testing_Selenium/trunk/tests/SeleniumTest.php') /home/clockwerx/pear-svn/packages/Testing_Selenium/trunk/tests/AllTests.php:11 Fatal error: require_once(): Failed opening required 'Testing/Selenium.php' (include_path='.:/usr/share/php:/usr/share/pear:./PEAR/') in /home/clockwerx/pear-svn/packages/Testing_Selenium/trunk/tests/SeleniumTest.php on line 8 Call Stack: 0.0007 55856 1. {main}() /home/clockwerx/pear-svn/packages/Testing_Selenium/trunk/tests/AllTests.php:0 0.1741 3764196 2. require_once('/home/clockwerx/pear-svn/packages/Testing_Selenium/trunk/tests/SeleniumTest.php') /home/clockwerx/pear-svn/packages/Testing_Selenium/trunk/tests/AllTests.php:11

Comments

 [2010-04-10 05:12 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Closed -Assigned To: +Assigned To: doconnor