Actions

Talk

Difference between revisions of "Running Automated Tests for the Joomla CMS"

From Joomla! Documentation

(answer question)
(answer question)
Line 7: Line 7:
 
== Run the Test Suite ==
 
== Run the Test Suite ==
 
Where is / how do we create phpunit.bat?
 
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. [[User:Dextercowley|Mark Dexter]] 22:02, 6 February 2010 (UTC)

Revision as of 17:02, 6 February 2010

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)