Hi Dan,
thanks for your feedback, I am very happy that you finally managed to run the tests. I also appreciate your suggestions. Adding a port parameter is surely useful. As to including the tests in LocalSeleniumSettings.php, I will have a look into that. I assume that we have to change the order standards are set in RunSeleniumTests.php, since the included tests depend on the PEAR libraries, which in turn depend on the PEAR path set above. In the end, I would like to include the tests by a command line parameter, thus making the framework more flexible. However, I can see that hardcoding the tests in the settings file will save some typing work.
If you want to make the changes yourself, please feel free to do so. I am planning to provide an update of the framework with a working example by tomorrow evening (about this time), and I will include your suggestions as well if you have not done so already :)
Regards, Markus
-----Ursprüngliche Nachricht----- Von: wikitech-l-bounces@lists.wikimedia.org [mailto:wikitech-l-bounces@lists.wikimedia.org] Im Auftrag von Dan Nessett Gesendet: Montag, 24. Mai 2010 20:08 An: wikitech-l@lists.wikimedia.org Betreff: Re: [Wikitech-l] Selenium testing framework
On Sun, 02 May 2010 02:20:06 +0200, Markus Glaser wrote:
Hi everybody,
at the Wkimedia Developers' Workshop, I introduced a Selenium testing framework for MediaWiki. Since it has now been promoted to maintenance/tests, I have provided some initial information it on http://www.mediawiki.org/wiki/SeleniumFramework . I would be very happy about comments and ideas for further improvement. Also, if you intend to use the framework for your tests, please let me know. I will be happy to assist.
Regards, Markus Glaser
Social Web Technologien Leiter Softwareentwicklung Hallo Welt! - Medienwerkstatt GmbH
Untere Bachgasse 15 93047 Regensburg
Tel. +49 (0) 941 - 56 95 94 - 92
www.hallowelt.bizhttp://www.hallowelt.biz/ glaser@hallowelt.bizmailto:glaser@hallowelt.biz
Sitz: Regensburg Handelsregister: HRB 10467 E.USt.Nr.: DE 253050833 Geschäftsführer: Anja Ebersbach, Markus Glaser, Dr. Richard Heigl, Radovan Kubani
Hi Markus,
Despite my initial problems getting the Selenium Framework to run, I think it is a great start. Now that I have the PagedTiffHandler working, here is some feedback on the current framework:
+ When I svn up ../tests (or any ancestor directory), the local changes + I make to RunSeleniumTests cause a local conflict error. Eventually, many of the configuration changes I made should appear in LocalSeleniumSettings, but it isn't clear that is possible for all of them. For example, I change the commented out set_include_path to include my local PHP/PEAR directory. Can this be set in LocalSeleniumSettings? Another difference is the include_once() for each test suite. Is it possible to move these into LocalSeleniumSettings?
+ It appears there is no way to tell RunSeleniumTests to use a selenium server port other than 4444. It would be useful to have a -port parameter on RunSeleniumServer for this. For example, if there are multiple developers working on the same machine, they probably need to use different selenium servers differentiated by different port numbers.
I don't mind working on both of these issues, but since you are the original architect of the framework, it is probably best for you to comment on them first and perhaps suggest what you consider to be the best approach to their resolution.
-- -- Dan Nessett
_______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l