Running Automated Tests for the Joomla CMS

From Joomla! Documentation

Revision as of 07:04, 16 February 2010 by Fpolyak (Talk | contribs)

Create a Selenium Configuration File

Would var $baseURI of in be the same as public $live_site?

It could be, but we don't have access to Joomla! variables when running the tests. We are running them from a browser, outside the Joomla! framework. Mark Dexter 22:01, 6 February 2010 (UTC)

Run the Test Suite

Where is / how do we create phpunit.bat?

phpunit.bat is created when you install PHPUnit (in Windows). In Linux I would guess that it is just phpunit. Mark Dexter 22:02, 6 February 2010 (UTC)

Failed to start new browser session, shutdown browser and

clear all session data... Lock file still present!

Hi All,

I installed all, how it is written on Running_Automated_Tests_for_Version_1.6, i see my Firefox(3.6, WinXPSP3)-processes(new) in the taskbar started, but the second browser window was not opened! After that I see another try the FF to start, without success and so on.

Start of Tests:

C:\Dokumente und Einstellungen\fpolyak>cd c:\xampp\htdocs\joomla\tests\system\

C:\xampp\htdocs\joomla\tests\system>c:\xampp\php\phpunit.bat --bootstrap servers \configdef.php suite\TestSuite.php PHPUnit 3.4.10 by Sebastian Bergmann.

Starting ControlPanelMenu. E^CBatchvorgang abbrechen (J/N)? j


Selenium messages (with errors messages) :


Can anybody help me please?

Cite error: <ref> tags exist, but no <references/> tag was found