<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.sandbox.joomla.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=PtrNrs</id>
	<title>Joomla! Documentation - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.sandbox.joomla.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=PtrNrs"/>
	<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/Special:Contributions/PtrNrs"/>
	<updated>2026-05-16T10:59:11Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github&amp;diff=62566</id>
		<title>Working with git and github</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Working_with_git_and_github&amp;diff=62566"/>
		<updated>2011-10-10T06:28:48Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* Eclipse */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document will provide a brief overview of working with the Joomla Platform repository on github.com for people who are interested in making code contributions and using eclipse as an IDE. Much will also apply for people who just want to follow development, but that is much simpler.&lt;br /&gt;
&lt;br /&gt;
Some preliminary information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What is Git? ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Git is distributed version control software. Such software (another example is Mercurial while subversion and CVS are non distributed version control systems) allow many people to contribute code to a single project and also allow for well defined tracking of code changes and provide mechanisms for recording commit by commit records of changes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What is Github? ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Github is a host for git repositories. It is located at [https://github.com github.com]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What is the Joomla! Platform? ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Joomla! Platform also known as the Joomla! Framework is the set of libraries that are used to build the Joomla! CMS and other applications.&lt;br /&gt;
&lt;br /&gt;
The platform is managed separately from the CMS and has its own release cycle; each release of the CMS uses one specific version of the platform.&lt;br /&gt;
&lt;br /&gt;
The platform repository is located at: [https://github.com/joomla/joomla-platform  github.com/joomla/joomla-platform]&lt;br /&gt;
&lt;br /&gt;
== First steps: Github account ==&lt;br /&gt;
&lt;br /&gt;
First, you will need to register at git hub.  &lt;br /&gt;
&lt;br /&gt;
Once registered, you will probably want to go to [https://github.com/joomla/joomla-platform github.com/joomla/joomla-platform ]  and click follow. Then whenever you log in you will see the latest things that have happened in the repository.&lt;br /&gt;
&lt;br /&gt;
If you are going to code, you will also want to click on fork. This will give you your own copy of the platform to work with. You&#039;ll probably want to follow that too.&lt;br /&gt;
&lt;br /&gt;
== Second steps: Install git ==&lt;br /&gt;
&lt;br /&gt;
Now you will want to install git on your local workstation. Github provides excellent instructions on how to do this that will detect your operating system. Simply click on the Set Up Git button.&lt;br /&gt;
&lt;br /&gt;
You will need to set up SSH. As it says on the Github instructions &amp;quot; Setting them up is fairly easy, but does involve a number of steps.&amp;quot; Some will be specific to your operating system, so follow the instructions at github.&lt;br /&gt;
&lt;br /&gt;
You will also need to tell Git your user name and password so that it can connect to your repositories on github.&lt;br /&gt;
&lt;br /&gt;
== Third steps ==&lt;br /&gt;
&lt;br /&gt;
=== Command Line ===&lt;br /&gt;
If you like using the command line, git by itself provides commands to create a local copy of your fork at github. There are a number of tutorials and reference sites for git including:&lt;br /&gt;
* [http://git-scm.com/documentation  git-scm.com/documentation]&lt;br /&gt;
* [http://gitimmersion.com/ gitimmersion]&lt;br /&gt;
&lt;br /&gt;
Github itself has many documents about how to use git on its help site&lt;br /&gt;
*[http://help.github.com/ help.github.com/]&lt;br /&gt;
&lt;br /&gt;
=== Eclipse ===&lt;br /&gt;
&lt;br /&gt;
Git can also be used with Eclipse, a popular integrated development environment (IDE).&lt;br /&gt;
&lt;br /&gt;
Setting up Eclipse to work with git and github involves a number of steps.&lt;br /&gt;
&lt;br /&gt;
Important references are:&lt;br /&gt;
[http://wiki.eclipse.org/EGit/User_Guide wiki.eclipse.org/EGit/User_Guide]&lt;br /&gt;
and &lt;br /&gt;
[http://wiki.eclipse.org/EGit/GitHub/UserGuide wiki.eclipse.org/EGit/GitHub/UserGuide]&lt;br /&gt;
&lt;br /&gt;
First, you will need to install eGit and Mylyn. Mylyn is probably not really necessary but it will let you access other features of github. Note that Mylyn has dependencies and you will need to install them first (see the user&#039;s guide).&lt;br /&gt;
&lt;br /&gt;
To install eGit from eclipse, go to Help&amp;gt;Eclipse Marketplace. Search for git and click install.&lt;br /&gt;
&lt;br /&gt;
Follow the instructions to fill in your github account information to identify yourself, defaults and other settings.&lt;br /&gt;
&lt;br /&gt;
Once installed, if you click File&amp;gt;Import you should see Git listed as an option and projects from Git as a sub option.&lt;br /&gt;
&lt;br /&gt;
Note the following owes a lot to a number of sites including [http://blog.opsb.co.uk/getting-started-with-git-github-and-eclipse-p http://blog.opsb.co.uk/getting-started-with-git-github-and-eclipse-p].&lt;br /&gt;
&lt;br /&gt;
One important thing to note before starting is that we will be working with the fork you made in Step 1 (If you didn&#039;t make a fork then, do it now). Thus we will not be making a new repository. When reading help materials make sure not to follow instructions to create a new remote repository. &lt;br /&gt;
&lt;br /&gt;
Your fork on github will have a set of three links (ssh, http, git read-only) . You will need the http link.&lt;br /&gt;
&lt;br /&gt;
Click File&amp;gt;Import.&lt;br /&gt;
Choose Projects from Git, click next.&lt;br /&gt;
On the next screen, click Clone and add your http link. The other fields except your password will autofill. (If you haven&#039;t set up your username previously you will need this too).&lt;br /&gt;
&lt;br /&gt;
Click Next, select master (that is all you will have if this is your first time).&lt;br /&gt;
Set a directory.&lt;br /&gt;
Click finish and the files from git will be cloned which means they will be downloaded to your folder.&lt;br /&gt;
&lt;br /&gt;
Next Eclipse will want to create a project. Do not do it!! Instead, in a way that works for your operating system create a hidden file called .project.&lt;br /&gt;
&lt;br /&gt;
In the file put:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;projectDescription&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;joomla-platform&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;comment&amp;gt;&amp;lt;/comment&amp;gt;&lt;br /&gt;
&amp;lt;projects&amp;gt;&lt;br /&gt;
&amp;lt;/projects&amp;gt;&lt;br /&gt;
&amp;lt;buildSpec&amp;gt;&lt;br /&gt;
&amp;lt;buildCommand&amp;gt;&lt;br /&gt;
&amp;lt;name&amp;gt;org.eclipse.wst.validation.validationbuilder&amp;lt;/name&amp;gt;&lt;br /&gt;
&amp;lt;arguments&amp;gt;&lt;br /&gt;
&amp;lt;/arguments&amp;gt;&lt;br /&gt;
&amp;lt;/buildCommand&amp;gt;&lt;br /&gt;
&amp;lt;/buildSpec&amp;gt;&lt;br /&gt;
&amp;lt;natures&amp;gt;&lt;br /&gt;
&amp;lt;nature&amp;gt;org.eclipse.php.core.PHPNature&amp;lt;/nature&amp;gt;&lt;br /&gt;
&amp;lt;/natures&amp;gt;&lt;br /&gt;
&amp;lt;/projectDescription&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But change joomla-platform to the name of your folder.&lt;br /&gt;
&lt;br /&gt;
Now your folder should appear on the list of projects. Select it and finish.&lt;br /&gt;
&lt;br /&gt;
You should now have a git local repository.&lt;br /&gt;
&lt;br /&gt;
== Getting to Work ==&lt;br /&gt;
&lt;br /&gt;
Once you have your repository you are ready to start working on code. &lt;br /&gt;
Whenever you have some code that you are happy with, you should commit it locally. Note that unless you commit, your local changes will not enter into version control. &lt;br /&gt;
To commit, you click Team&amp;gt;commit.&lt;br /&gt;
&lt;br /&gt;
=== Creating patches ===&lt;br /&gt;
The most painless method seems to be the command line as described on the [http://git-scm.com git home page] as a quick start &amp;quot;Cloning and Creating a Patch&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone git://github.com/joomla/joomla-platform.git&lt;br /&gt;
$ cd joomla-platform&lt;br /&gt;
$ (edit files)&lt;br /&gt;
$ git add (files)&lt;br /&gt;
$ git commit -m &#039;Explain what I changed&#039;&lt;br /&gt;
$ git format-patch origin/master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It seems also possible to create patches in eclipse eGit&lt;br /&gt;
&lt;br /&gt;
You can also use git-diff to create patches, to create a diff with the latest commit&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git diff --no-prefix ^HEAD&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To be continued ...&lt;br /&gt;
&lt;br /&gt;
== Trouble Shooting ==&lt;br /&gt;
&lt;br /&gt;
If you get a message about unpacking try adding .git to the end of the remote repository url.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&lt;br /&gt;
* [http://progit.org/book/ Pro Git]&lt;br /&gt;
* [http://www.ndpsoftware.com/git-cheatsheet.html Git Cheatsheet]&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Running_Automated_Tests_for_the_Joomla_CMS&amp;diff=29083</id>
		<title>Running Automated Tests for the Joomla CMS</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Running_Automated_Tests_for_the_Joomla_CMS&amp;diff=29083"/>
		<updated>2010-07-04T08:25:21Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* Tips */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{RightTOC}}&lt;br /&gt;
== Introduction ==&lt;br /&gt;
As of February 2010, a tests folder has been added to the Joomla! SVN download. This folder contains a growing library of unit and system (or functional) tests. The unit tests use PHPUnit and the system tests use PHPUnit and Selenium. The unit tests perform tests primarily on the Joomla! framework. The Selenium system tests actually run Joomla! from a browser and test it as a user would.&lt;br /&gt;
&lt;br /&gt;
Before you can run the tests, you need to install some programs on your local workstation, as documented below. This document explains how to run the these tests from your local workstation.&lt;br /&gt;
&lt;br /&gt;
== Install PHPUnit ==&lt;br /&gt;
Both the unit and functional tests rely on PHPUnit. PHPUnit is a testing framework that requires PHP to be installed on the local workstation. XAMP / WAMP users can use the PHP installation that comes with them. Otherwise, you may need to install PHP, and the PEAR package, on your local workstation. More detailed instructions can be found at [http://www.php.net/manual/en/install.php http://www.php.net/manual/en/install.php].&lt;br /&gt;
&lt;br /&gt;
On most PHP installations, PNPUnit can be installed using the standard PEAR installation process.&lt;br /&gt;
&lt;br /&gt;
For example, on XAMPP version 1.7.3 on Windows, you would do the following commands:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd c:\xampp\php&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;pear channel-discover pear.phpunit.de&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;pear channel-discover pear.symfony-project.com&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;pear install phpunit/PHPUnit&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you get error about PEAR version too low, run:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;pear upgrade pear&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and repeat &amp;lt;code&amp;gt;pear install phpunit/PHPUnit&amp;lt;/code&amp;gt;&lt;br /&gt;
.&lt;br /&gt;
Windows users not using WAMP or XAMPP can use the same procedure, with substituting the location of your PHP installation for &amp;lt;code&amp;gt;cd c:\xampp\php&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In Ubuntu Linux, use the following commands to install PHPUnit:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;$sudo pear channel-discover pear.phpunit.de&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;$sudo pear channel-discover pear.symfony-project.com&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;$sudo pear install phpunit/PHPUnit&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More detailed instructions can be found here: [http://www.phpunit.de/manual/3.0/en/installation.html http://www.phpunit.de/manual/3.0/en/installation.html].&lt;br /&gt;
&lt;br /&gt;
== Set Up Configuration File ==&lt;br /&gt;
Many unit tests can run independent of an actual Joomla! instance or database. Other tests require a connection to a Joomla! database. For these tests to run correctly, you need to create a test config.php  file. &lt;br /&gt;
&lt;br /&gt;
If you don&#039;t have a correct configuration file, you will see a message similar to the one below when you try to run certain unit tests:&lt;br /&gt;
&lt;br /&gt;
 PHP Fatal error:  Class &#039;JElement&#039; not found in &lt;br /&gt;
 /local/www/joomla_trunk/libraries/joomla/html/parameter/element/list.php  on line 22&lt;br /&gt;
&lt;br /&gt;
To create a configuration file:&lt;br /&gt;
&lt;br /&gt;
# Copy the file &amp;lt;code&amp;gt;tests/unit/config.php-dist&amp;lt;/code&amp;gt; to the name &amp;lt;code&amp;gt;tests/unit/config.php&amp;lt;/code&amp;gt;.&lt;br /&gt;
# Edit the &amp;lt;code&amp;gt;config.php&amp;lt;code&amp;gt; file to match your test configuration. The configuration must point to a valid Joomla! 1.6 database. You can use any installed Joomla! 1.6 database.&lt;br /&gt;
# The values you oneed to edit are as follows:&lt;br /&gt;
::&#039;&#039;&#039;$user&#039;&#039;&#039;: database user id (for example, &#039;root&#039; or whatever login needed to connect to the db)&lt;br /&gt;
::&#039;&#039;&#039;$password&#039;&#039;&#039;: database user password&lt;br /&gt;
::&#039;&#039;&#039;$db&#039;&#039;&#039;: database name&lt;br /&gt;
::&#039;&#039;&#039;$tmp_path&#039;&#039;&#039;: &amp;lt;Joomla! root&amp;gt;/tmp&lt;br /&gt;
::&#039;&#039;&#039;$log_path&#039;&#039;&#039;: &amp;lt;Joomla! root&amp;gt;/log&lt;br /&gt;
: You can use your &amp;lt;code&amp;gt;configuration.php&amp;lt;/code&amp;gt; file as a guide for these entries, if needed.&lt;br /&gt;
&lt;br /&gt;
When you run unit tests that use the database, the database will become unusable for a normal Joomla! instance. There are two ways to fix this. &lt;br /&gt;
# Re-install Joomla! after the unit tests have run. This recreates the database and fixes any problems.&lt;br /&gt;
# Use a different database for the unit tests. For example, you can run the installation of Joomla! and give it a different database name and use this database name in the &amp;lt;code&amp;gt;tests/unit/config.php&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
== Running Unit Tests ==&lt;br /&gt;
Once PHPUnit is installed, you can run the unit tests. To run a unit test from the command line:&lt;br /&gt;
# Change to the folder &amp;lt;code&amp;gt;&amp;lt;joomla root&amp;gt;/tests/unit&amp;lt;/code&amp;gt;&lt;br /&gt;
# Execute the command &amp;lt;code&amp;gt;phpunit &amp;lt;test name or folder&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
For example, to execute the test called &amp;quot;suite\libraries\joomla\utilities\JStringTest.php&amp;quot;, you would type the command&lt;br /&gt;
* &amp;lt;code&amp;gt;phpunit suite\libraries\joomla\utilities\JStringTest.php&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you run this, you will see output similar to the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
C:\xampp\htdocs\joomla_development\j16_trunk\tests\unit&amp;gt;phpunit suite\libraries\&lt;br /&gt;
joomla\utilities\jstringtest.php&lt;br /&gt;
PHPUnit 3.4.11 by Sebastian Bergmann.&lt;br /&gt;
&lt;br /&gt;
............................................................ 60 / 89&lt;br /&gt;
.............................&lt;br /&gt;
&lt;br /&gt;
Time: 26 seconds, Memory: 7.00Mb&lt;br /&gt;
&lt;br /&gt;
OK (89 tests, 89 assertions)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The dots indicate a successful test. If you have errors or failures, they will show as &amp;quot;E&amp;quot; or &amp;quot;F&amp;quot; letters and a detailed message for each will show.&lt;br /&gt;
&lt;br /&gt;
You can execute all of the tests in a folder by specifying a folder instead of a file. For example, to run all of the tests in the folder &amp;quot;suite\libraries\joomla\utilities&amp;quot;, you would enter&lt;br /&gt;
* &amp;lt;code&amp;gt;phpunit suite\libraries\joomla\utilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This command will produce output similar to that shown below:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
C:\xampp\htdocs\joomla_development\j16_trunk\tests\unit&amp;gt;phpunit suite\libraries\&lt;br /&gt;
joomla\utilities&lt;br /&gt;
PHPUnit 3.4.11 by Sebastian Bergmann.&lt;br /&gt;
&lt;br /&gt;
............................................................  60 / 317&lt;br /&gt;
............................................................ 120 / 317&lt;br /&gt;
............................................................ 180 / 317&lt;br /&gt;
............................................................ 240 / 317&lt;br /&gt;
............................................................ 300 / 317&lt;br /&gt;
...FFFF..........&lt;br /&gt;
&lt;br /&gt;
Time: 27 seconds, Memory: 11.00Mb&lt;br /&gt;
&lt;br /&gt;
There were 4 failures:&lt;br /&gt;
&lt;br /&gt;
1) JUtilityTest::testGetHash&lt;br /&gt;
Failed asserting that two strings are equal.&lt;br /&gt;
--- Expected&lt;br /&gt;
+++ Actual&lt;br /&gt;
@@ @@&lt;br /&gt;
-ce114e4501d2f4e2dcea3e17b546f339&lt;br /&gt;
+0cbc6611f5540bd0809a388dc95a615b&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2) JUtilityTest::testGetToken with data set &amp;quot;default&amp;quot; (NULL, false)&lt;br /&gt;
Failed asserting that &amp;lt;string:adca734617ce829cc979492d6d037416&amp;gt; matches expected&lt;br /&gt;
 &amp;lt;boolean:false&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3) JUtilityTest::testGetToken with data set &amp;quot;false&amp;quot; (false, false)&lt;br /&gt;
Failed asserting that &amp;lt;string:adca734617ce829cc979492d6d037416&amp;gt; matches expected&lt;br /&gt;
 &amp;lt;boolean:false&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4) JUtilityTest::testGetToken with data set &amp;quot;true&amp;quot; (true, true)&lt;br /&gt;
Expectation failed for method name is equal to &amp;lt;string:getFormToken&amp;gt; when invoke&lt;br /&gt;
d 1 time(s).&lt;br /&gt;
Method was expected to be called 1 times, actually called 0 times.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
FAILURES!&lt;br /&gt;
Tests: 317, Assertions: 361, Failures: 4.&amp;lt;/pre&amp;gt;&lt;br /&gt;
In this case, we have 4 test failures with details about each.&lt;br /&gt;
&lt;br /&gt;
== System Tests ==&lt;br /&gt;
Before you can run the system tests, you need to install and set up the Selenium RC package and configure your test environment, as shown below.&lt;br /&gt;
&lt;br /&gt;
=== Install Selenium RC ===&lt;br /&gt;
Selenium RC is the package that allows you to run Selenium tests from PHP or other programming languages. To install it, just go to the Selenium site [http://seleniumhq.org/projects/remote-control http://seleniumhq.org/projects/remote-control] and download the package. Then unzip the file into a folder. &lt;br /&gt;
&lt;br /&gt;
For example, in Windows if you create a folder called &amp;lt;code&amp;gt;C:\selenium&amp;lt;/code&amp;gt; and unzip this file there, it will create a folder called selenium-server-1.0.1. In that folder, create a Windows bat file (such as selenium.bat though the name does not matter) or Linux shell script that runs the following command: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;java -jar selenium-server.jar -browserSessionReuse&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the Java executable is not on your path, then you will need to indicate the full path to it, like the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;quot;c:\program files (x86)\Java\jre6\bin\java.exe&amp;quot; -jar selenium-server.jar -browserSessionReuse&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Note the argument &amp;lt;code&amp;gt;browserSessionReuse&amp;lt;/code&amp;gt; is used to allow you to run multiple tests without closing and re-opening the browser each time. Save this file so you can easily find and execute it when needed.&lt;br /&gt;
&lt;br /&gt;
This program needs to be running in the background before you can run any Selenium functional tests.&lt;br /&gt;
&lt;br /&gt;
If You are using Firefox 3.6.x, be sure to install Selenium RC version 1.0.3 (released February 2010) or later. Earlier versions of Selenium RC have problems running in Firefox 3.6.x.&lt;br /&gt;
&lt;br /&gt;
=== Create a Selenium Configuration File ===&lt;br /&gt;
To run the Selenium tests, we have to tell Selenium how to navigate and login to your local Joomla! installation. This is done by creating a PHP file called &amp;lt;code&amp;gt;configdef.php&amp;lt;/code&amp;gt;. The Joomla! download includes a file called &amp;lt;code&amp;gt;tests/system/servers/config-def.php-dist&amp;lt;/code&amp;gt;. This is a sample file that you can use to create the real file. Copy this file to a file called &amp;lt;code&amp;gt;tests/system/servers/configdef.php&amp;lt;/code&amp;gt; and edit it to reflect your test systems configuration. There are comments in the file that tell you how to do this.&lt;br /&gt;
&lt;br /&gt;
=== Run the System Test Suite ===&lt;br /&gt;
At this point, we are ready to actually run the tests. There are two steps to running a test. First, you need to make sure the Selenium RC process is running in the background. To do this, just execute the command (bat file or shell script) you created when you installed Selenium RC. This will continue to run until you cancel it.&lt;br /&gt;
&lt;br /&gt;
Once Selenium RC is running, you need to execute the functional tests. There are several ways you can do this. &lt;br /&gt;
&lt;br /&gt;
To run all tests from the command line in Windows, change to the &amp;lt;code&amp;gt;tests/system&amp;lt;/code&amp;gt; folder and run the following command (the phpunit.bat file comes from the PHPUnit installation):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;phpunit.bat --bootstrap servers\configdef.php suite\TestSuite.php &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Linux, the command is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;phpunit --bootstrap servers/configdef.php suite/TestSuite.php &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will run all of the tests in the TestSuite.php file. You should see a series of messages display in the console telling you what tests are being run and what the tests are doing. You should also see two browser windows open. One will display Selenium commands that are being executed. The other will show the Joomla! website and the various screens that are being opened and closed as the tests are run. &lt;br /&gt;
&lt;br /&gt;
The tests will run for a few minutes, depending on the speed of your system. When they are done, you will get a summary display showing how many tests were run and whether there were errors or failures. If there are errors or failures, the line of code from the test program that generated the error or failure will also show.&lt;br /&gt;
&lt;br /&gt;
An error occurs when the test encounters an actual PHP error. A failure occurs when the test gets a result that is different than expected.&lt;br /&gt;
&lt;br /&gt;
== Tips ==&lt;br /&gt;
* Make sure you run the tests on a clean database that has been installed with sample data. If you have made database changes, you should re-install Joomla! or otherwise put the database back to it&#039;s original post-installed state.&lt;br /&gt;
* If you find errors or failures when you run the tests, you can run the tests against the Joomla! trunk to see if the problems are in trunk or just in your branch.&lt;br /&gt;
* If you maintain more than one local Joomla! project (for example, one for trunk, another for a branch), you will need to make sure to have a configdef.php file for each that has the right path and login information. You can watch the browser window while the tests are running to make sure you are testing the URL that you expect.&lt;br /&gt;
* If TestSuite fails with a red Error message when importing sample data (a Joomla install is the first step in TestSuite), you may need to increase the time allowed for the sample data import in the following line 57 of tests/system/suite/doInstall.php.&lt;br /&gt;
 if ($second &amp;gt;= 15) $this-&amp;gt;fail(&amp;quot;timeout&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Eclipse Users ==&lt;br /&gt;
In Eclipse, you can set up Debug and External Tools launch configurations that make it easy to debug or run unit and system tests.&lt;br /&gt;
&lt;br /&gt;
=== Run a Unit Test ===&lt;br /&gt;
You can create an External Tools launch configuration that lets you run any unit test simply by pointing to the test file and pressing the Run button. Here are the steps:&lt;br /&gt;
* Open the Run&amp;amp;rarr;External Tools&amp;amp;rarr;External Tools Configuration menu and press the button labeled &amp;quot;New Launch Configuration&amp;quot;.&lt;br /&gt;
* Enter a descriptive name, such as &amp;quot;Run Selected Unit Test&amp;quot;.&lt;br /&gt;
* Enter the location that points to your phpunit.bat file (for example, &amp;lt;code&amp;gt;c:\xampp\php\phpunit.bat&amp;lt;/code&amp;gt;).&lt;br /&gt;
* Set the Working Directory to &amp;lt;code&amp;gt;${project_loc}\tests\unit&amp;lt;/code&amp;gt;&lt;br /&gt;
* Set the arguments to &amp;lt;code&amp;gt;c:\xampp\php\phpunit --verbose &amp;quot;${resource_loc}&amp;quot;&amp;lt;/code&amp;gt;.&lt;br /&gt;
This is shown in the screenshot below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100405-01.png]]&lt;br /&gt;
&lt;br /&gt;
To run a unit test:&lt;br /&gt;
# Select a unit test, either by selecting it in the PHP Explorer view or in the edit area of Eclipse.&lt;br /&gt;
# Run the External Launch configuration by selecting it from the drop-down list next to the External Launch Configuration button in the toolbar (shown below).&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-01.png]]&lt;br /&gt;
&lt;br /&gt;
Note that a test might normally take a 30-60 seconds to run. The output of the test will show in the Eclipse console.&lt;br /&gt;
&lt;br /&gt;
==== Run All Tests in a Folder ====&lt;br /&gt;
You can run all of the unit tests in a folder using this same launch configuration. Just select a folder instead of a test file and all of the unit tests in that folder will run.&lt;br /&gt;
&lt;br /&gt;
=== Setting Up For Debugging ===&lt;br /&gt;
&lt;br /&gt;
==== Make Sure XDebug is Installed ====&lt;br /&gt;
As you would expect, XDebug must be installed and configured for use with Eclipse. See [[Setting_up_your_workstation_for_Joomla!_development#Edit_PHP.INI_File]] for detailed instructions.&lt;br /&gt;
&lt;br /&gt;
==== Add PEAR Library to Workspace ====&lt;br /&gt;
Before you can debug a unit or system test, you have to add the PEAR library to your project or workspace. In this example, we will add PEAR to our workspace. That way, all projects will automatically have access to PHPUnit.&lt;br /&gt;
&lt;br /&gt;
Here are the steps:&lt;br /&gt;
&lt;br /&gt;
* Select Window&amp;amp;rarr;Preferences&amp;amp;rarr;PHP&amp;amp;rarr;PHP Libraries.&lt;br /&gt;
* Press the New button and add PEAR as shown below. Be sure to press the checkbox labeled &amp;quot;Add to environment&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-01a.png]]&lt;br /&gt;
&lt;br /&gt;
* Press OK, then press the Add External folder button and browse to your PEAR folder, as shown below. In this example, the folder is in &amp;lt;code&amp;gt;c:\xampp\php\PEAR&amp;lt;/code&amp;gt;.&lt;br /&gt;
 &lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-01b.png]]&lt;br /&gt;
&lt;br /&gt;
* Press OK and the screen should show the external folder, as shown below, with the correct file path for your workstation.&lt;br /&gt;
 &lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-01c.png]]&lt;br /&gt;
&lt;br /&gt;
After this is completed go to project preferences - &amp;gt; Properties -&amp;gt; PHP Include path -&amp;gt; Libraries tab -&amp;gt; Add library. Select User library in popup, click Next and mark Pear[enviroment] as checked.&lt;br /&gt;
&lt;br /&gt;
Also make sure your project folder is added in Source tab of your project&#039;s PHP Include path.&lt;br /&gt;
&lt;br /&gt;
==== Configure the PHP Executable ====&lt;br /&gt;
Normally, you will want to debug unit and system tests as PHP scripts (as opposed to web pages). Before you can do this, you need to configure a PHP Executable in Eclipse. This is done as follows:&lt;br /&gt;
* Select Window&amp;amp;rarr;Preferences&amp;amp;rarr;PHP&amp;amp;rarr;PHP Executables. The screen below will show.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-05.png]]&lt;br /&gt;
&lt;br /&gt;
* Press Add and complete the screen as shown below, substituting the correct file paths for your workstation.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-06.png]]&lt;br /&gt;
&lt;br /&gt;
At this point, your workstation is set up for PHPUnit debugging. Now you just have to create the debug configurations as shown in the next section.&lt;br /&gt;
&lt;br /&gt;
=== Debug a Single Unit Test ===&lt;br /&gt;
Once you have PEAR added to your libraries, it is easy to set up a debug configuration that allows you to debug any unit test. Here are the steps:&lt;br /&gt;
* Press the drop-down arrow next to the Debug button and select Debug Configurations from the menu, as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-02.png]]&lt;br /&gt;
&lt;br /&gt;
* In the Debug Configurations window, make sure that PHP Script is selected and press the New Launch configuration button as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-17.png]]&lt;br /&gt;
&lt;br /&gt;
* Fill out the PHP Script tab of the Debug Configurations as shown below.&lt;br /&gt;
** Name: a descriptive name like &amp;quot;Debug Selected Unit Test&amp;quot;&lt;br /&gt;
** PHP Debugger: XDebug&lt;br /&gt;
** PHP Executable: The one you set up earlier (there will only be one)&lt;br /&gt;
** PHP File: Use the Browse button to browse to the phpunit.php file in your &amp;lt;code&amp;gt;tests/system&amp;lt;/code&amp;gt; folder.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-10.png]]&lt;br /&gt;
&lt;br /&gt;
* Select the PHP Script Arguments tab and enter --verbose ${selected_resource_loc} as shown below.&lt;br /&gt;
** The &amp;quot;--verbose&amp;quot; option allows you to see more details when the tests are run.&lt;br /&gt;
** The &amp;quot;${selected_resource_loc}&amp;quot; passes the currently selected file at runtime, so you can use this configuration just by selecting the desired file and then running it.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-11.png]]&lt;br /&gt;
&lt;br /&gt;
* Finally, select the Common tab and check the Debug checkbox under &amp;quot;Display in favorites menu&amp;quot;, as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-09a.png]]&lt;br /&gt;
&lt;br /&gt;
At this point, you are ready to debug any unit test. All you need to do is:&lt;br /&gt;
# Select the desired test file either in the PHP Explorer view or in the editor.&lt;br /&gt;
# Select Debug Configurations from the Debug drop-down button and select the &amp;quot;Debug Selected Unit Test&amp;quot; option. Once you have run this once, it will show on your Debug favorites menu.&lt;br /&gt;
&lt;br /&gt;
=== Run a Single System Test ===&lt;br /&gt;
You can create a configuration to make it easy to run any single test in your project. To do this:&lt;br /&gt;
* Open the Run&amp;amp;rarr;External Tools&amp;amp;rarr;External Tools Configuration menu and press the button labeled &amp;quot;New Launch Configuration&amp;quot;&lt;br /&gt;
* Enter the location that points to your phpunit.bat file (for example, &amp;lt;code&amp;gt;c:\xampp\php\phpunit.bat&amp;lt;/code&amp;gt;). On Linux systems, this might be called &amp;quot;phpunit&amp;quot;.&lt;br /&gt;
* Set the Working Directory to &amp;lt;code&amp;gt;${project_loc}/tests/system&amp;lt;/code&amp;gt;&lt;br /&gt;
* Set the arguments to &amp;lt;code&amp;gt;--bootstrap servers/configdef.php ${selected_resource_loc}&amp;lt;/code&amp;gt;.&lt;br /&gt;
This is shown in the screenshot below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-14.png]]&lt;br /&gt;
&lt;br /&gt;
To use this configuration,&lt;br /&gt;
# Make sure the Selenium RC process is running (for example, by running the &amp;quot;selenium.bat&amp;quot; file you created when you installed Selenium RC earlier)&lt;br /&gt;
# Select the desired test file by clicking on it in the PHP Explorer view or in the edit area&lt;br /&gt;
# Start this launch configuration&lt;br /&gt;
The selected test file will be run and you will see the browser session open and run the test script. The test results will be reported in the Eclipse console.&lt;br /&gt;
&lt;br /&gt;
=== Debug a Single System Test ===&lt;br /&gt;
The steps for creating a Debug Configuration for a Selenium system test are similar to those for the unit test.&lt;br /&gt;
* Open Debug Configurations from the drop-down menu next to the Debug Button on the toolbar, as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-02.png]]&lt;br /&gt;
&lt;br /&gt;
* In the Debug Configurations window, make sure that PHP Script is selected and press the New Launch configuration button as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-17.png]]&lt;br /&gt;
&lt;br /&gt;
* Fill out the Debug Configurations dialog box as shown below:&lt;br /&gt;
** Name: A descriptive name for the configuration, like &amp;quot;Debug Selected System Test&amp;quot;.&lt;br /&gt;
** PHP Debugger: XDebug&lt;br /&gt;
** PHP Executable: The one you defined earlier (there probably is only one).&lt;br /&gt;
** PHP File: Browse to the phpunit.php file in your &amp;lt;code&amp;gt;tests/system&amp;lt;/code&amp;gt; folder.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-12.png]]&lt;br /&gt;
&lt;br /&gt;
* Select the PHP Script arguments and fill this out as shown below.&lt;br /&gt;
** --bootstrap servers/configdef.php points to the configuration file that passes the login information to Selenium.&lt;br /&gt;
** &amp;quot;${selected_resource_loc}&amp;quot; passes the location of the currently selected file in Eclipse to the command line.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-13.png]]&lt;br /&gt;
&lt;br /&gt;
* Finally, select the Common tab and check the Debug option in the Display in favorites menu. This will add this configuration to your favorites.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-09a.png]]&lt;br /&gt;
&lt;br /&gt;
At this point, you can debug any system test. To do so:&lt;br /&gt;
# Make sure the Selenium RC program is running in the background.&lt;br /&gt;
# Select the desired test by selecting it in the PHP Explorer or in the editor.&lt;br /&gt;
# Run this Debug Configuration by selecting the drop-down arrow next to the Debug button, then Debug Configurations, then the &amp;quot;Debug Selected System Test&amp;quot; configuration created above.&lt;br /&gt;
&lt;br /&gt;
=== Run the System Test Suite ===&lt;br /&gt;
To create a launch configuration to run the Test Suite of the currently-selected Eclipse project:&lt;br /&gt;
* Enter the location that points to your phpunit.bat file. If you are running Linux, this file might be called phpunit.&lt;br /&gt;
* Set the Working Directory to &amp;lt;code&amp;gt;${project_loc}/tests\system&amp;lt;/code&amp;gt;&lt;br /&gt;
* Set the arguments to &amp;lt;code&amp;gt;--bootstrap servers/configdef.php suite/TestSuite.php&amp;lt;/code&amp;gt;.&lt;br /&gt;
This is shown in the screenshot below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-15.png]]&lt;br /&gt;
&lt;br /&gt;
The console output will show in the Eclipse console. Note that you still need to have the Selenium RC program running in the background first, before running the suite. Note that you need to select a file in the current project before running this command so the &amp;lt;code&amp;gt;{project_loc}&amp;lt;/code&amp;gt; variable is set correctly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Bug Squad]] [[Category:Development]] [[Category:Testing]] [[Category:Automated Testing]] [[Category:Joomla! 1.6]]&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Running_Automated_Tests_for_the_Joomla_CMS&amp;diff=29082</id>
		<title>Running Automated Tests for the Joomla CMS</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Running_Automated_Tests_for_the_Joomla_CMS&amp;diff=29082"/>
		<updated>2010-07-04T08:23:12Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* Tips */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{RightTOC}}&lt;br /&gt;
== Introduction ==&lt;br /&gt;
As of February 2010, a tests folder has been added to the Joomla! SVN download. This folder contains a growing library of unit and system (or functional) tests. The unit tests use PHPUnit and the system tests use PHPUnit and Selenium. The unit tests perform tests primarily on the Joomla! framework. The Selenium system tests actually run Joomla! from a browser and test it as a user would.&lt;br /&gt;
&lt;br /&gt;
Before you can run the tests, you need to install some programs on your local workstation, as documented below. This document explains how to run the these tests from your local workstation.&lt;br /&gt;
&lt;br /&gt;
== Install PHPUnit ==&lt;br /&gt;
Both the unit and functional tests rely on PHPUnit. PHPUnit is a testing framework that requires PHP to be installed on the local workstation. XAMP / WAMP users can use the PHP installation that comes with them. Otherwise, you may need to install PHP, and the PEAR package, on your local workstation. More detailed instructions can be found at [http://www.php.net/manual/en/install.php http://www.php.net/manual/en/install.php].&lt;br /&gt;
&lt;br /&gt;
On most PHP installations, PNPUnit can be installed using the standard PEAR installation process.&lt;br /&gt;
&lt;br /&gt;
For example, on XAMPP version 1.7.3 on Windows, you would do the following commands:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd c:\xampp\php&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;pear channel-discover pear.phpunit.de&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;pear channel-discover pear.symfony-project.com&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;pear install phpunit/PHPUnit&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you get error about PEAR version too low, run:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;pear upgrade pear&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and repeat &amp;lt;code&amp;gt;pear install phpunit/PHPUnit&amp;lt;/code&amp;gt;&lt;br /&gt;
.&lt;br /&gt;
Windows users not using WAMP or XAMPP can use the same procedure, with substituting the location of your PHP installation for &amp;lt;code&amp;gt;cd c:\xampp\php&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In Ubuntu Linux, use the following commands to install PHPUnit:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;$sudo pear channel-discover pear.phpunit.de&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;$sudo pear channel-discover pear.symfony-project.com&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;$sudo pear install phpunit/PHPUnit&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More detailed instructions can be found here: [http://www.phpunit.de/manual/3.0/en/installation.html http://www.phpunit.de/manual/3.0/en/installation.html].&lt;br /&gt;
&lt;br /&gt;
== Set Up Configuration File ==&lt;br /&gt;
Many unit tests can run independent of an actual Joomla! instance or database. Other tests require a connection to a Joomla! database. For these tests to run correctly, you need to create a test config.php  file. &lt;br /&gt;
&lt;br /&gt;
If you don&#039;t have a correct configuration file, you will see a message similar to the one below when you try to run certain unit tests:&lt;br /&gt;
&lt;br /&gt;
 PHP Fatal error:  Class &#039;JElement&#039; not found in &lt;br /&gt;
 /local/www/joomla_trunk/libraries/joomla/html/parameter/element/list.php  on line 22&lt;br /&gt;
&lt;br /&gt;
To create a configuration file:&lt;br /&gt;
&lt;br /&gt;
# Copy the file &amp;lt;code&amp;gt;tests/unit/config.php-dist&amp;lt;/code&amp;gt; to the name &amp;lt;code&amp;gt;tests/unit/config.php&amp;lt;/code&amp;gt;.&lt;br /&gt;
# Edit the &amp;lt;code&amp;gt;config.php&amp;lt;code&amp;gt; file to match your test configuration. The configuration must point to a valid Joomla! 1.6 database. You can use any installed Joomla! 1.6 database.&lt;br /&gt;
# The values you oneed to edit are as follows:&lt;br /&gt;
::&#039;&#039;&#039;$user&#039;&#039;&#039;: database user id (for example, &#039;root&#039; or whatever login needed to connect to the db)&lt;br /&gt;
::&#039;&#039;&#039;$password&#039;&#039;&#039;: database user password&lt;br /&gt;
::&#039;&#039;&#039;$db&#039;&#039;&#039;: database name&lt;br /&gt;
::&#039;&#039;&#039;$tmp_path&#039;&#039;&#039;: &amp;lt;Joomla! root&amp;gt;/tmp&lt;br /&gt;
::&#039;&#039;&#039;$log_path&#039;&#039;&#039;: &amp;lt;Joomla! root&amp;gt;/log&lt;br /&gt;
: You can use your &amp;lt;code&amp;gt;configuration.php&amp;lt;/code&amp;gt; file as a guide for these entries, if needed.&lt;br /&gt;
&lt;br /&gt;
When you run unit tests that use the database, the database will become unusable for a normal Joomla! instance. There are two ways to fix this. &lt;br /&gt;
# Re-install Joomla! after the unit tests have run. This recreates the database and fixes any problems.&lt;br /&gt;
# Use a different database for the unit tests. For example, you can run the installation of Joomla! and give it a different database name and use this database name in the &amp;lt;code&amp;gt;tests/unit/config.php&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
== Running Unit Tests ==&lt;br /&gt;
Once PHPUnit is installed, you can run the unit tests. To run a unit test from the command line:&lt;br /&gt;
# Change to the folder &amp;lt;code&amp;gt;&amp;lt;joomla root&amp;gt;/tests/unit&amp;lt;/code&amp;gt;&lt;br /&gt;
# Execute the command &amp;lt;code&amp;gt;phpunit &amp;lt;test name or folder&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
For example, to execute the test called &amp;quot;suite\libraries\joomla\utilities\JStringTest.php&amp;quot;, you would type the command&lt;br /&gt;
* &amp;lt;code&amp;gt;phpunit suite\libraries\joomla\utilities\JStringTest.php&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you run this, you will see output similar to the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
C:\xampp\htdocs\joomla_development\j16_trunk\tests\unit&amp;gt;phpunit suite\libraries\&lt;br /&gt;
joomla\utilities\jstringtest.php&lt;br /&gt;
PHPUnit 3.4.11 by Sebastian Bergmann.&lt;br /&gt;
&lt;br /&gt;
............................................................ 60 / 89&lt;br /&gt;
.............................&lt;br /&gt;
&lt;br /&gt;
Time: 26 seconds, Memory: 7.00Mb&lt;br /&gt;
&lt;br /&gt;
OK (89 tests, 89 assertions)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The dots indicate a successful test. If you have errors or failures, they will show as &amp;quot;E&amp;quot; or &amp;quot;F&amp;quot; letters and a detailed message for each will show.&lt;br /&gt;
&lt;br /&gt;
You can execute all of the tests in a folder by specifying a folder instead of a file. For example, to run all of the tests in the folder &amp;quot;suite\libraries\joomla\utilities&amp;quot;, you would enter&lt;br /&gt;
* &amp;lt;code&amp;gt;phpunit suite\libraries\joomla\utilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This command will produce output similar to that shown below:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
C:\xampp\htdocs\joomla_development\j16_trunk\tests\unit&amp;gt;phpunit suite\libraries\&lt;br /&gt;
joomla\utilities&lt;br /&gt;
PHPUnit 3.4.11 by Sebastian Bergmann.&lt;br /&gt;
&lt;br /&gt;
............................................................  60 / 317&lt;br /&gt;
............................................................ 120 / 317&lt;br /&gt;
............................................................ 180 / 317&lt;br /&gt;
............................................................ 240 / 317&lt;br /&gt;
............................................................ 300 / 317&lt;br /&gt;
...FFFF..........&lt;br /&gt;
&lt;br /&gt;
Time: 27 seconds, Memory: 11.00Mb&lt;br /&gt;
&lt;br /&gt;
There were 4 failures:&lt;br /&gt;
&lt;br /&gt;
1) JUtilityTest::testGetHash&lt;br /&gt;
Failed asserting that two strings are equal.&lt;br /&gt;
--- Expected&lt;br /&gt;
+++ Actual&lt;br /&gt;
@@ @@&lt;br /&gt;
-ce114e4501d2f4e2dcea3e17b546f339&lt;br /&gt;
+0cbc6611f5540bd0809a388dc95a615b&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2) JUtilityTest::testGetToken with data set &amp;quot;default&amp;quot; (NULL, false)&lt;br /&gt;
Failed asserting that &amp;lt;string:adca734617ce829cc979492d6d037416&amp;gt; matches expected&lt;br /&gt;
 &amp;lt;boolean:false&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3) JUtilityTest::testGetToken with data set &amp;quot;false&amp;quot; (false, false)&lt;br /&gt;
Failed asserting that &amp;lt;string:adca734617ce829cc979492d6d037416&amp;gt; matches expected&lt;br /&gt;
 &amp;lt;boolean:false&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4) JUtilityTest::testGetToken with data set &amp;quot;true&amp;quot; (true, true)&lt;br /&gt;
Expectation failed for method name is equal to &amp;lt;string:getFormToken&amp;gt; when invoke&lt;br /&gt;
d 1 time(s).&lt;br /&gt;
Method was expected to be called 1 times, actually called 0 times.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
FAILURES!&lt;br /&gt;
Tests: 317, Assertions: 361, Failures: 4.&amp;lt;/pre&amp;gt;&lt;br /&gt;
In this case, we have 4 test failures with details about each.&lt;br /&gt;
&lt;br /&gt;
== System Tests ==&lt;br /&gt;
Before you can run the system tests, you need to install and set up the Selenium RC package and configure your test environment, as shown below.&lt;br /&gt;
&lt;br /&gt;
=== Install Selenium RC ===&lt;br /&gt;
Selenium RC is the package that allows you to run Selenium tests from PHP or other programming languages. To install it, just go to the Selenium site [http://seleniumhq.org/projects/remote-control http://seleniumhq.org/projects/remote-control] and download the package. Then unzip the file into a folder. &lt;br /&gt;
&lt;br /&gt;
For example, in Windows if you create a folder called &amp;lt;code&amp;gt;C:\selenium&amp;lt;/code&amp;gt; and unzip this file there, it will create a folder called selenium-server-1.0.1. In that folder, create a Windows bat file (such as selenium.bat though the name does not matter) or Linux shell script that runs the following command: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;java -jar selenium-server.jar -browserSessionReuse&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the Java executable is not on your path, then you will need to indicate the full path to it, like the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;quot;c:\program files (x86)\Java\jre6\bin\java.exe&amp;quot; -jar selenium-server.jar -browserSessionReuse&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Note the argument &amp;lt;code&amp;gt;browserSessionReuse&amp;lt;/code&amp;gt; is used to allow you to run multiple tests without closing and re-opening the browser each time. Save this file so you can easily find and execute it when needed.&lt;br /&gt;
&lt;br /&gt;
This program needs to be running in the background before you can run any Selenium functional tests.&lt;br /&gt;
&lt;br /&gt;
If You are using Firefox 3.6.x, be sure to install Selenium RC version 1.0.3 (released February 2010) or later. Earlier versions of Selenium RC have problems running in Firefox 3.6.x.&lt;br /&gt;
&lt;br /&gt;
=== Create a Selenium Configuration File ===&lt;br /&gt;
To run the Selenium tests, we have to tell Selenium how to navigate and login to your local Joomla! installation. This is done by creating a PHP file called &amp;lt;code&amp;gt;configdef.php&amp;lt;/code&amp;gt;. The Joomla! download includes a file called &amp;lt;code&amp;gt;tests/system/servers/config-def.php-dist&amp;lt;/code&amp;gt;. This is a sample file that you can use to create the real file. Copy this file to a file called &amp;lt;code&amp;gt;tests/system/servers/configdef.php&amp;lt;/code&amp;gt; and edit it to reflect your test systems configuration. There are comments in the file that tell you how to do this.&lt;br /&gt;
&lt;br /&gt;
=== Run the System Test Suite ===&lt;br /&gt;
At this point, we are ready to actually run the tests. There are two steps to running a test. First, you need to make sure the Selenium RC process is running in the background. To do this, just execute the command (bat file or shell script) you created when you installed Selenium RC. This will continue to run until you cancel it.&lt;br /&gt;
&lt;br /&gt;
Once Selenium RC is running, you need to execute the functional tests. There are several ways you can do this. &lt;br /&gt;
&lt;br /&gt;
To run all tests from the command line in Windows, change to the &amp;lt;code&amp;gt;tests/system&amp;lt;/code&amp;gt; folder and run the following command (the phpunit.bat file comes from the PHPUnit installation):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;phpunit.bat --bootstrap servers\configdef.php suite\TestSuite.php &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Linux, the command is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;phpunit --bootstrap servers/configdef.php suite/TestSuite.php &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will run all of the tests in the TestSuite.php file. You should see a series of messages display in the console telling you what tests are being run and what the tests are doing. You should also see two browser windows open. One will display Selenium commands that are being executed. The other will show the Joomla! website and the various screens that are being opened and closed as the tests are run. &lt;br /&gt;
&lt;br /&gt;
The tests will run for a few minutes, depending on the speed of your system. When they are done, you will get a summary display showing how many tests were run and whether there were errors or failures. If there are errors or failures, the line of code from the test program that generated the error or failure will also show.&lt;br /&gt;
&lt;br /&gt;
An error occurs when the test encounters an actual PHP error. A failure occurs when the test gets a result that is different than expected.&lt;br /&gt;
&lt;br /&gt;
== Tips ==&lt;br /&gt;
* Make sure you run the tests on a clean database that has been installed with sample data. If you have made database changes, you should re-install Joomla! or otherwise put the database back to it&#039;s original post-installed state.&lt;br /&gt;
* If you find errors or failures when you run the tests, you can run the tests against the Joomla! trunk to see if the problems are in trunk or just in your branch.&lt;br /&gt;
* If you maintain more than one local Joomla! project (for example, one for trunk, another for a branch), you will need to make sure to have a configdef.php file for each that has the right path and login information. You can watch the browser window while the tests are running to make sure you are testing the URL that you expect.&lt;br /&gt;
* If TestSuite fails with a red Error message when importing sample data (a Joomla install is the first step in TestSuite), you may need to increase the time allowed for the sample data import in the following line 57 of tests/system/suite/doInstall.php.&lt;br /&gt;
&lt;br /&gt;
== Eclipse Users ==&lt;br /&gt;
In Eclipse, you can set up Debug and External Tools launch configurations that make it easy to debug or run unit and system tests.&lt;br /&gt;
&lt;br /&gt;
=== Run a Unit Test ===&lt;br /&gt;
You can create an External Tools launch configuration that lets you run any unit test simply by pointing to the test file and pressing the Run button. Here are the steps:&lt;br /&gt;
* Open the Run&amp;amp;rarr;External Tools&amp;amp;rarr;External Tools Configuration menu and press the button labeled &amp;quot;New Launch Configuration&amp;quot;.&lt;br /&gt;
* Enter a descriptive name, such as &amp;quot;Run Selected Unit Test&amp;quot;.&lt;br /&gt;
* Enter the location that points to your phpunit.bat file (for example, &amp;lt;code&amp;gt;c:\xampp\php\phpunit.bat&amp;lt;/code&amp;gt;).&lt;br /&gt;
* Set the Working Directory to &amp;lt;code&amp;gt;${project_loc}\tests\unit&amp;lt;/code&amp;gt;&lt;br /&gt;
* Set the arguments to &amp;lt;code&amp;gt;c:\xampp\php\phpunit --verbose &amp;quot;${resource_loc}&amp;quot;&amp;lt;/code&amp;gt;.&lt;br /&gt;
This is shown in the screenshot below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100405-01.png]]&lt;br /&gt;
&lt;br /&gt;
To run a unit test:&lt;br /&gt;
# Select a unit test, either by selecting it in the PHP Explorer view or in the edit area of Eclipse.&lt;br /&gt;
# Run the External Launch configuration by selecting it from the drop-down list next to the External Launch Configuration button in the toolbar (shown below).&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-01.png]]&lt;br /&gt;
&lt;br /&gt;
Note that a test might normally take a 30-60 seconds to run. The output of the test will show in the Eclipse console.&lt;br /&gt;
&lt;br /&gt;
==== Run All Tests in a Folder ====&lt;br /&gt;
You can run all of the unit tests in a folder using this same launch configuration. Just select a folder instead of a test file and all of the unit tests in that folder will run.&lt;br /&gt;
&lt;br /&gt;
=== Setting Up For Debugging ===&lt;br /&gt;
&lt;br /&gt;
==== Make Sure XDebug is Installed ====&lt;br /&gt;
As you would expect, XDebug must be installed and configured for use with Eclipse. See [[Setting_up_your_workstation_for_Joomla!_development#Edit_PHP.INI_File]] for detailed instructions.&lt;br /&gt;
&lt;br /&gt;
==== Add PEAR Library to Workspace ====&lt;br /&gt;
Before you can debug a unit or system test, you have to add the PEAR library to your project or workspace. In this example, we will add PEAR to our workspace. That way, all projects will automatically have access to PHPUnit.&lt;br /&gt;
&lt;br /&gt;
Here are the steps:&lt;br /&gt;
&lt;br /&gt;
* Select Window&amp;amp;rarr;Preferences&amp;amp;rarr;PHP&amp;amp;rarr;PHP Libraries.&lt;br /&gt;
* Press the New button and add PEAR as shown below. Be sure to press the checkbox labeled &amp;quot;Add to environment&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-01a.png]]&lt;br /&gt;
&lt;br /&gt;
* Press OK, then press the Add External folder button and browse to your PEAR folder, as shown below. In this example, the folder is in &amp;lt;code&amp;gt;c:\xampp\php\PEAR&amp;lt;/code&amp;gt;.&lt;br /&gt;
 &lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-01b.png]]&lt;br /&gt;
&lt;br /&gt;
* Press OK and the screen should show the external folder, as shown below, with the correct file path for your workstation.&lt;br /&gt;
 &lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-01c.png]]&lt;br /&gt;
&lt;br /&gt;
After this is completed go to project preferences - &amp;gt; Properties -&amp;gt; PHP Include path -&amp;gt; Libraries tab -&amp;gt; Add library. Select User library in popup, click Next and mark Pear[enviroment] as checked.&lt;br /&gt;
&lt;br /&gt;
Also make sure your project folder is added in Source tab of your project&#039;s PHP Include path.&lt;br /&gt;
&lt;br /&gt;
==== Configure the PHP Executable ====&lt;br /&gt;
Normally, you will want to debug unit and system tests as PHP scripts (as opposed to web pages). Before you can do this, you need to configure a PHP Executable in Eclipse. This is done as follows:&lt;br /&gt;
* Select Window&amp;amp;rarr;Preferences&amp;amp;rarr;PHP&amp;amp;rarr;PHP Executables. The screen below will show.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-05.png]]&lt;br /&gt;
&lt;br /&gt;
* Press Add and complete the screen as shown below, substituting the correct file paths for your workstation.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-06.png]]&lt;br /&gt;
&lt;br /&gt;
At this point, your workstation is set up for PHPUnit debugging. Now you just have to create the debug configurations as shown in the next section.&lt;br /&gt;
&lt;br /&gt;
=== Debug a Single Unit Test ===&lt;br /&gt;
Once you have PEAR added to your libraries, it is easy to set up a debug configuration that allows you to debug any unit test. Here are the steps:&lt;br /&gt;
* Press the drop-down arrow next to the Debug button and select Debug Configurations from the menu, as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-02.png]]&lt;br /&gt;
&lt;br /&gt;
* In the Debug Configurations window, make sure that PHP Script is selected and press the New Launch configuration button as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-17.png]]&lt;br /&gt;
&lt;br /&gt;
* Fill out the PHP Script tab of the Debug Configurations as shown below.&lt;br /&gt;
** Name: a descriptive name like &amp;quot;Debug Selected Unit Test&amp;quot;&lt;br /&gt;
** PHP Debugger: XDebug&lt;br /&gt;
** PHP Executable: The one you set up earlier (there will only be one)&lt;br /&gt;
** PHP File: Use the Browse button to browse to the phpunit.php file in your &amp;lt;code&amp;gt;tests/system&amp;lt;/code&amp;gt; folder.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-10.png]]&lt;br /&gt;
&lt;br /&gt;
* Select the PHP Script Arguments tab and enter --verbose ${selected_resource_loc} as shown below.&lt;br /&gt;
** The &amp;quot;--verbose&amp;quot; option allows you to see more details when the tests are run.&lt;br /&gt;
** The &amp;quot;${selected_resource_loc}&amp;quot; passes the currently selected file at runtime, so you can use this configuration just by selecting the desired file and then running it.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-11.png]]&lt;br /&gt;
&lt;br /&gt;
* Finally, select the Common tab and check the Debug checkbox under &amp;quot;Display in favorites menu&amp;quot;, as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-09a.png]]&lt;br /&gt;
&lt;br /&gt;
At this point, you are ready to debug any unit test. All you need to do is:&lt;br /&gt;
# Select the desired test file either in the PHP Explorer view or in the editor.&lt;br /&gt;
# Select Debug Configurations from the Debug drop-down button and select the &amp;quot;Debug Selected Unit Test&amp;quot; option. Once you have run this once, it will show on your Debug favorites menu.&lt;br /&gt;
&lt;br /&gt;
=== Run a Single System Test ===&lt;br /&gt;
You can create a configuration to make it easy to run any single test in your project. To do this:&lt;br /&gt;
* Open the Run&amp;amp;rarr;External Tools&amp;amp;rarr;External Tools Configuration menu and press the button labeled &amp;quot;New Launch Configuration&amp;quot;&lt;br /&gt;
* Enter the location that points to your phpunit.bat file (for example, &amp;lt;code&amp;gt;c:\xampp\php\phpunit.bat&amp;lt;/code&amp;gt;). On Linux systems, this might be called &amp;quot;phpunit&amp;quot;.&lt;br /&gt;
* Set the Working Directory to &amp;lt;code&amp;gt;${project_loc}/tests/system&amp;lt;/code&amp;gt;&lt;br /&gt;
* Set the arguments to &amp;lt;code&amp;gt;--bootstrap servers/configdef.php ${selected_resource_loc}&amp;lt;/code&amp;gt;.&lt;br /&gt;
This is shown in the screenshot below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-14.png]]&lt;br /&gt;
&lt;br /&gt;
To use this configuration,&lt;br /&gt;
# Make sure the Selenium RC process is running (for example, by running the &amp;quot;selenium.bat&amp;quot; file you created when you installed Selenium RC earlier)&lt;br /&gt;
# Select the desired test file by clicking on it in the PHP Explorer view or in the edit area&lt;br /&gt;
# Start this launch configuration&lt;br /&gt;
The selected test file will be run and you will see the browser session open and run the test script. The test results will be reported in the Eclipse console.&lt;br /&gt;
&lt;br /&gt;
=== Debug a Single System Test ===&lt;br /&gt;
The steps for creating a Debug Configuration for a Selenium system test are similar to those for the unit test.&lt;br /&gt;
* Open Debug Configurations from the drop-down menu next to the Debug Button on the toolbar, as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-02.png]]&lt;br /&gt;
&lt;br /&gt;
* In the Debug Configurations window, make sure that PHP Script is selected and press the New Launch configuration button as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-17.png]]&lt;br /&gt;
&lt;br /&gt;
* Fill out the Debug Configurations dialog box as shown below:&lt;br /&gt;
** Name: A descriptive name for the configuration, like &amp;quot;Debug Selected System Test&amp;quot;.&lt;br /&gt;
** PHP Debugger: XDebug&lt;br /&gt;
** PHP Executable: The one you defined earlier (there probably is only one).&lt;br /&gt;
** PHP File: Browse to the phpunit.php file in your &amp;lt;code&amp;gt;tests/system&amp;lt;/code&amp;gt; folder.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-12.png]]&lt;br /&gt;
&lt;br /&gt;
* Select the PHP Script arguments and fill this out as shown below.&lt;br /&gt;
** --bootstrap servers/configdef.php points to the configuration file that passes the login information to Selenium.&lt;br /&gt;
** &amp;quot;${selected_resource_loc}&amp;quot; passes the location of the currently selected file in Eclipse to the command line.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-13.png]]&lt;br /&gt;
&lt;br /&gt;
* Finally, select the Common tab and check the Debug option in the Display in favorites menu. This will add this configuration to your favorites.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-09a.png]]&lt;br /&gt;
&lt;br /&gt;
At this point, you can debug any system test. To do so:&lt;br /&gt;
# Make sure the Selenium RC program is running in the background.&lt;br /&gt;
# Select the desired test by selecting it in the PHP Explorer or in the editor.&lt;br /&gt;
# Run this Debug Configuration by selecting the drop-down arrow next to the Debug button, then Debug Configurations, then the &amp;quot;Debug Selected System Test&amp;quot; configuration created above.&lt;br /&gt;
&lt;br /&gt;
=== Run the System Test Suite ===&lt;br /&gt;
To create a launch configuration to run the Test Suite of the currently-selected Eclipse project:&lt;br /&gt;
* Enter the location that points to your phpunit.bat file. If you are running Linux, this file might be called phpunit.&lt;br /&gt;
* Set the Working Directory to &amp;lt;code&amp;gt;${project_loc}/tests\system&amp;lt;/code&amp;gt;&lt;br /&gt;
* Set the arguments to &amp;lt;code&amp;gt;--bootstrap servers/configdef.php suite/TestSuite.php&amp;lt;/code&amp;gt;.&lt;br /&gt;
This is shown in the screenshot below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-15.png]]&lt;br /&gt;
&lt;br /&gt;
The console output will show in the Eclipse console. Note that you still need to have the Selenium RC program running in the background first, before running the suite. Note that you need to select a file in the current project before running this command so the &amp;lt;code&amp;gt;{project_loc}&amp;lt;/code&amp;gt; variable is set correctly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Bug Squad]] [[Category:Development]] [[Category:Testing]] [[Category:Automated Testing]] [[Category:Joomla! 1.6]]&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Running_Automated_Tests_for_the_Joomla_CMS&amp;diff=29001</id>
		<title>Talk:Running Automated Tests for the Joomla CMS</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Running_Automated_Tests_for_the_Joomla_CMS&amp;diff=29001"/>
		<updated>2010-06-30T07:20:56Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* Re: Run the System Test Suite */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Re: Run the System Test Suite ==&lt;br /&gt;
I am trying to run the system test suite in the normal SVN configuration with the installation folder still present.  TestSuite calls doInstall which reruns the Joomla install and then reinstalls the sample data which, by the way, failed due to a bug (http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&amp;amp;tracker_item_id=21250).&lt;br /&gt;
&lt;br /&gt;
When I rename (or delete) the installation folder, TestSuite skips doInstall and then runs OK.&lt;br /&gt;
&lt;br /&gt;
The first Tip, though, says&lt;br /&gt;
* Make sure you run the tests on a clean database that has been installed with sample data. If you have made database changes, you should re-install Joomla! or otherwise put the database back to it&#039;s original post-installed state.&lt;br /&gt;
This seems to indicate that we shouldn&#039;t have the installation folder, as its presence will cause the sample data to be reinstalled anyway.&lt;br /&gt;
&lt;br /&gt;
But then, evry SVN update will reinstate the installation folder anyway.&lt;br /&gt;
&lt;br /&gt;
What is the required configuration is for running TestSuite?&lt;br /&gt;
&lt;br /&gt;
== Create a Selenium Configuration File ==&lt;br /&gt;
&lt;br /&gt;
Would var $baseURI of in be the same as public $live_site?&lt;br /&gt;
&lt;br /&gt;
It could be, but we don&#039;t have access to Joomla! variables when running the tests. We are running them from a browser, outside the Joomla! framework. [[User:Dextercowley|Mark Dexter]] 22:01, 6 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Run the Test Suite ==&lt;br /&gt;
Where is / how do we create phpunit.bat?&lt;br /&gt;
&lt;br /&gt;
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)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Failed to start new browser session, shutdown browser and == &lt;br /&gt;
clear all session data... Lock file still present! &lt;br /&gt;
&lt;br /&gt;
Hi All,&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Start of Tests:&lt;br /&gt;
&lt;br /&gt;
 C:\Dokumente und Einstellungen\fpolyak&amp;gt;cd c:\xampp\htdocs\joomla\tests\system\&lt;br /&gt;
 C:\xampp\htdocs\joomla\tests\system&amp;gt;c:\xampp\php\phpunit.bat --bootstrap servers&lt;br /&gt;
 \configdef.php suite\TestSuite.php&lt;br /&gt;
 PHPUnit 3.4.10 by Sebastian Bergmann.&lt;br /&gt;
 Starting ControlPanelMenu.&lt;br /&gt;
 E^CBatchvorgang abbrechen (J/N)? j&lt;br /&gt;
 C:\xampp\htdocs\joomla\tests\system&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Selenium messages (with errors messages) : &lt;br /&gt;
&lt;br /&gt;
  C:\selenium\selenium-remote-control-1.0.1&amp;gt;c:\Programme\Java\jre1.6.0_07\bin\java&lt;br /&gt;
 .exe -jar selenium-server-1.0.1\selenium-server.jar -browserSessionReuse&lt;br /&gt;
 11:51:38.614 INFO - Java: Sun Microsystems Inc. 10.0-b23&lt;br /&gt;
 11:51:38.614 INFO - OS: Windows XP 5.1 x86&lt;br /&gt;
 11:51:38.614 INFO - v1.0.1 [2696], with Core v@VERSION@ [@REVISION@]&lt;br /&gt;
 11:51:38.614 INFO - Will recycle browser sessions when possible.&lt;br /&gt;
 11:51:38.755 INFO - Version Jetty/5.1.x&lt;br /&gt;
 11:51:38.755 INFO - Started HttpContext[/selenium-server/driver,/selenium-server&lt;br /&gt;
 /driver]&lt;br /&gt;
 11:51:38.755 INFO - Started HttpContext[/selenium-server,/selenium-server]&lt;br /&gt;
 11:51:38.755 INFO - Started HttpContext[/,/]&lt;br /&gt;
 11:51:38.771 INFO - Started SocketListener on 0.0.0.0:4444&lt;br /&gt;
 11:51:38.771 INFO - Started org.mortbay.jetty.Server@1e0cf70&lt;br /&gt;
 11:54:55.060 INFO - Checking Resource aliases&lt;br /&gt;
 11:54:55.075 INFO - Command request: getNewBrowserSession[*chrome, http://joomla&lt;br /&gt;
 ] on session null&lt;br /&gt;
 11:54:55.075 INFO - grabbing available session...&lt;br /&gt;
 11:54:55.075 INFO - creating new remote session&lt;br /&gt;
 11:54:55.544 INFO - Allocated session df59775d37ca4e77bbdb4d0f7b97d63c for http:&lt;br /&gt;
 //joomla, launching...&lt;br /&gt;
 11:54:55.794 INFO - Preparing Firefox profile...&lt;br /&gt;
 11:55:19.052 ERROR - Failed to start new browser session, shutdown browser and c&lt;br /&gt;
 lear all session data&lt;br /&gt;
 java.lang.RuntimeException: Firefox refused shutdown while preparing a profile&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:311)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.pop&lt;br /&gt;
 ulateCustomProfileDirectory(FirefoxChromeLauncher.java:106)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nch(FirefoxChromeLauncher.java:83)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nchRemoteSession(FirefoxChromeLauncher.java:350)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSessi&lt;br /&gt;
 on(BrowserSessionFactory.java:357)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 ( BrowserSessionFactory.java:122)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 (BrowserSessionFactory.java:84)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowse&lt;br /&gt;
 rSession(SeleniumDriverResourceHandler.java:699)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Se&lt;br /&gt;
 leniumDriverResourceHandler.java:393)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleComman&lt;br /&gt;
 dRequest(SeleniumDriverResourceHandler.java:364)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Selen&lt;br /&gt;
 iumDriverResourceHandler.java:125)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)&lt;br /&gt;
         at org.mortbay.http.HttpServer.service(HttpServer.java:909)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)&lt;br /&gt;
         at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:&lt;br /&gt;
 245)&lt;br /&gt;
         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)&lt;br /&gt;
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)&lt;br /&gt;
 Caused by: org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher$Fil&lt;br /&gt;
 eLockRemainedException: Lock file still present! C:\DOKUME~1\fpolyak\LOKALE~1\Te&lt;br /&gt;
 mp\customProfileDirdf59775d37ca4e77bbdb4d0f7b97d63c\parent.lock&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFileLockToGoAway(FirefoxChromeLauncher.java:269)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:309)&lt;br /&gt;
         ... 19 more&lt;br /&gt;
 11:55:31.806 INFO - Got result: Failed to start new browser session: Unable to d&lt;br /&gt;
 elete file C:\DOKUME~1\fpolyak\LOKALE~1\Temp\customProfileDirdf59775d37ca4e77bbd&lt;br /&gt;
 b4d0f7b97d63c\parent.lock on session null&lt;br /&gt;
 11:55:31.884 INFO - Command request: getNewBrowserSession[*chrome, http://joomla&lt;br /&gt;
 ] on session null&lt;br /&gt;
 11:55:31.884 INFO - grabbing available session...&lt;br /&gt;
 11:55:31.884 INFO - creating new remote session&lt;br /&gt;
 11:55:31.884 INFO - Allocated session e782589f459f4d9c8c0164e05c1f8cf6 for http:&lt;br /&gt;
 //joomla, launching...&lt;br /&gt;
 11:55:32.040 INFO - Preparing Firefox profile...&lt;br /&gt;
 11:55:53.719 ERROR - Failed to start new browser session, shutdown browser and c&lt;br /&gt;
 lear all session data&lt;br /&gt;
 java.lang.RuntimeException: Firefox refused shutdown while preparing a profile&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:311)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.pop&lt;br /&gt;
 ulateCustomProfileDirectory(FirefoxChromeLauncher.java:106)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nch(FirefoxChromeLauncher.java:83)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nchRemoteSession(FirefoxChromeLauncher.java:350)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSessi&lt;br /&gt;
 on(BrowserSessionFactory.java:357)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 (BrowserSessionFactory.java:122)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 (BrowserSessionFactory.java:84)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowse&lt;br /&gt;
 rSession(SeleniumDriverResourceHandler.java:699)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Se&lt;br /&gt;
 leniumDriverResourceHandler.java:393)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleComman&lt;br /&gt;
 dRequest(SeleniumDriverResourceHandler.java:364)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Selen&lt;br /&gt;
 iumDriverResourceHandler.java:125)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)&lt;br /&gt;
         at org.mortbay.http.HttpServer.service(HttpServer.java:909)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)&lt;br /&gt;
          at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)&lt;br /&gt;
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837) &lt;br /&gt;
        at org.mortbay.http.SocketListener.handleConnection(SocketListener .java:&lt;br /&gt;
 245) &lt;br /&gt;
         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)&lt;br /&gt;
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)&lt;br /&gt;
 Caused by: org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher$Fil&lt;br /&gt;
 eLockRemainedException: Lock file still present! C:\DOKUME~1\fpolyak\LOKALE~1\Te&lt;br /&gt;
 mp\customProfileDire782589f459f4d9c8c0164e05c1f8cf6\parent.lock&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFileLockToGoAway(FirefoxChromeLauncher.java:269)&lt;br /&gt;
        at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:309)&lt;br /&gt;
        ... 19 more&lt;br /&gt;
 11:56:06.379 INFO - Got result: Failed to start new browser session: Unable to d&lt;br /&gt;
 elete file C:\DOKUME~1\fpolyak\LOKALE~1\Temp\customProfileDire782589f459f4d9c8c0&lt;br /&gt;
 164e05c1f8cf6\parent.lock on session null&lt;br /&gt;
  &lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
configdef.php:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 class SeleniumConfig {	var $host = &#039;http://joomla&#039;;&lt;br /&gt;
	var $path = &#039;&#039;;#&#039;/j1513/&#039;;&lt;br /&gt;
	var $username = &#039;admin&#039;;&lt;br /&gt;
	var $password = &#039;admin&#039;;&lt;br /&gt;
	var $browser = &#039;*chrome&#039;;&lt;br /&gt;
	var $baseURI = &amp;quot;c:/xampp/htdocs/joomla/&amp;quot;;}&lt;br /&gt;
 &lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Can anybody help me please? &lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
This might help: [http://clearspace.openqa.org/thread/15596 http://clearspace.openqa.org/thread/15596] [[User:Dextercowley|Mark Dexter]]&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Running_Automated_Tests_for_the_Joomla_CMS&amp;diff=29000</id>
		<title>Talk:Running Automated Tests for the Joomla CMS</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Running_Automated_Tests_for_the_Joomla_CMS&amp;diff=29000"/>
		<updated>2010-06-30T07:19:30Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* Re: Run the System Test Suite */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Re: Run the System Test Suite ==&lt;br /&gt;
I am trying to run the system test suite in the normal SVN configuration with the installation folder still present.  TestSuite calls doInstall which reruns the Joomla install and then reinstalls the sample data which, by the way, failed due to a bug (http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&amp;amp;tracker_item_id=21250).&lt;br /&gt;
&lt;br /&gt;
When I rename (or delete) the installation folder, TestSuite skips doInstall and then runs OK.&lt;br /&gt;
&lt;br /&gt;
The first Tip, though, says&lt;br /&gt;
* Make sure you run the tests on a clean database that has been installed with sample data. If you have made database changes, you should re-install Joomla! or otherwise put the database back to it&#039;s original post-installed state.&lt;br /&gt;
This seems to indicate that we shouldn&#039;t have the installation folder, as its presence will cause the sample data to be reinstalled anyway.  Remember that an SVN update will reinstate the installation folder anyway.&lt;br /&gt;
&lt;br /&gt;
What is the required configuration is for running TestSuite?&lt;br /&gt;
&lt;br /&gt;
== Create a Selenium Configuration File ==&lt;br /&gt;
&lt;br /&gt;
Would var $baseURI of in be the same as public $live_site?&lt;br /&gt;
&lt;br /&gt;
It could be, but we don&#039;t have access to Joomla! variables when running the tests. We are running them from a browser, outside the Joomla! framework. [[User:Dextercowley|Mark Dexter]] 22:01, 6 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Run the Test Suite ==&lt;br /&gt;
Where is / how do we create phpunit.bat?&lt;br /&gt;
&lt;br /&gt;
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)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Failed to start new browser session, shutdown browser and == &lt;br /&gt;
clear all session data... Lock file still present! &lt;br /&gt;
&lt;br /&gt;
Hi All,&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Start of Tests:&lt;br /&gt;
&lt;br /&gt;
 C:\Dokumente und Einstellungen\fpolyak&amp;gt;cd c:\xampp\htdocs\joomla\tests\system\&lt;br /&gt;
 C:\xampp\htdocs\joomla\tests\system&amp;gt;c:\xampp\php\phpunit.bat --bootstrap servers&lt;br /&gt;
 \configdef.php suite\TestSuite.php&lt;br /&gt;
 PHPUnit 3.4.10 by Sebastian Bergmann.&lt;br /&gt;
 Starting ControlPanelMenu.&lt;br /&gt;
 E^CBatchvorgang abbrechen (J/N)? j&lt;br /&gt;
 C:\xampp\htdocs\joomla\tests\system&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Selenium messages (with errors messages) : &lt;br /&gt;
&lt;br /&gt;
  C:\selenium\selenium-remote-control-1.0.1&amp;gt;c:\Programme\Java\jre1.6.0_07\bin\java&lt;br /&gt;
 .exe -jar selenium-server-1.0.1\selenium-server.jar -browserSessionReuse&lt;br /&gt;
 11:51:38.614 INFO - Java: Sun Microsystems Inc. 10.0-b23&lt;br /&gt;
 11:51:38.614 INFO - OS: Windows XP 5.1 x86&lt;br /&gt;
 11:51:38.614 INFO - v1.0.1 [2696], with Core v@VERSION@ [@REVISION@]&lt;br /&gt;
 11:51:38.614 INFO - Will recycle browser sessions when possible.&lt;br /&gt;
 11:51:38.755 INFO - Version Jetty/5.1.x&lt;br /&gt;
 11:51:38.755 INFO - Started HttpContext[/selenium-server/driver,/selenium-server&lt;br /&gt;
 /driver]&lt;br /&gt;
 11:51:38.755 INFO - Started HttpContext[/selenium-server,/selenium-server]&lt;br /&gt;
 11:51:38.755 INFO - Started HttpContext[/,/]&lt;br /&gt;
 11:51:38.771 INFO - Started SocketListener on 0.0.0.0:4444&lt;br /&gt;
 11:51:38.771 INFO - Started org.mortbay.jetty.Server@1e0cf70&lt;br /&gt;
 11:54:55.060 INFO - Checking Resource aliases&lt;br /&gt;
 11:54:55.075 INFO - Command request: getNewBrowserSession[*chrome, http://joomla&lt;br /&gt;
 ] on session null&lt;br /&gt;
 11:54:55.075 INFO - grabbing available session...&lt;br /&gt;
 11:54:55.075 INFO - creating new remote session&lt;br /&gt;
 11:54:55.544 INFO - Allocated session df59775d37ca4e77bbdb4d0f7b97d63c for http:&lt;br /&gt;
 //joomla, launching...&lt;br /&gt;
 11:54:55.794 INFO - Preparing Firefox profile...&lt;br /&gt;
 11:55:19.052 ERROR - Failed to start new browser session, shutdown browser and c&lt;br /&gt;
 lear all session data&lt;br /&gt;
 java.lang.RuntimeException: Firefox refused shutdown while preparing a profile&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:311)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.pop&lt;br /&gt;
 ulateCustomProfileDirectory(FirefoxChromeLauncher.java:106)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nch(FirefoxChromeLauncher.java:83)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nchRemoteSession(FirefoxChromeLauncher.java:350)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSessi&lt;br /&gt;
 on(BrowserSessionFactory.java:357)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 ( BrowserSessionFactory.java:122)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 (BrowserSessionFactory.java:84)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowse&lt;br /&gt;
 rSession(SeleniumDriverResourceHandler.java:699)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Se&lt;br /&gt;
 leniumDriverResourceHandler.java:393)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleComman&lt;br /&gt;
 dRequest(SeleniumDriverResourceHandler.java:364)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Selen&lt;br /&gt;
 iumDriverResourceHandler.java:125)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)&lt;br /&gt;
         at org.mortbay.http.HttpServer.service(HttpServer.java:909)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)&lt;br /&gt;
         at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:&lt;br /&gt;
 245)&lt;br /&gt;
         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)&lt;br /&gt;
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)&lt;br /&gt;
 Caused by: org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher$Fil&lt;br /&gt;
 eLockRemainedException: Lock file still present! C:\DOKUME~1\fpolyak\LOKALE~1\Te&lt;br /&gt;
 mp\customProfileDirdf59775d37ca4e77bbdb4d0f7b97d63c\parent.lock&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFileLockToGoAway(FirefoxChromeLauncher.java:269)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:309)&lt;br /&gt;
         ... 19 more&lt;br /&gt;
 11:55:31.806 INFO - Got result: Failed to start new browser session: Unable to d&lt;br /&gt;
 elete file C:\DOKUME~1\fpolyak\LOKALE~1\Temp\customProfileDirdf59775d37ca4e77bbd&lt;br /&gt;
 b4d0f7b97d63c\parent.lock on session null&lt;br /&gt;
 11:55:31.884 INFO - Command request: getNewBrowserSession[*chrome, http://joomla&lt;br /&gt;
 ] on session null&lt;br /&gt;
 11:55:31.884 INFO - grabbing available session...&lt;br /&gt;
 11:55:31.884 INFO - creating new remote session&lt;br /&gt;
 11:55:31.884 INFO - Allocated session e782589f459f4d9c8c0164e05c1f8cf6 for http:&lt;br /&gt;
 //joomla, launching...&lt;br /&gt;
 11:55:32.040 INFO - Preparing Firefox profile...&lt;br /&gt;
 11:55:53.719 ERROR - Failed to start new browser session, shutdown browser and c&lt;br /&gt;
 lear all session data&lt;br /&gt;
 java.lang.RuntimeException: Firefox refused shutdown while preparing a profile&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:311)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.pop&lt;br /&gt;
 ulateCustomProfileDirectory(FirefoxChromeLauncher.java:106)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nch(FirefoxChromeLauncher.java:83)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nchRemoteSession(FirefoxChromeLauncher.java:350)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSessi&lt;br /&gt;
 on(BrowserSessionFactory.java:357)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 (BrowserSessionFactory.java:122)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 (BrowserSessionFactory.java:84)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowse&lt;br /&gt;
 rSession(SeleniumDriverResourceHandler.java:699)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Se&lt;br /&gt;
 leniumDriverResourceHandler.java:393)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleComman&lt;br /&gt;
 dRequest(SeleniumDriverResourceHandler.java:364)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Selen&lt;br /&gt;
 iumDriverResourceHandler.java:125)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)&lt;br /&gt;
         at org.mortbay.http.HttpServer.service(HttpServer.java:909)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)&lt;br /&gt;
          at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)&lt;br /&gt;
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837) &lt;br /&gt;
        at org.mortbay.http.SocketListener.handleConnection(SocketListener .java:&lt;br /&gt;
 245) &lt;br /&gt;
         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)&lt;br /&gt;
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)&lt;br /&gt;
 Caused by: org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher$Fil&lt;br /&gt;
 eLockRemainedException: Lock file still present! C:\DOKUME~1\fpolyak\LOKALE~1\Te&lt;br /&gt;
 mp\customProfileDire782589f459f4d9c8c0164e05c1f8cf6\parent.lock&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFileLockToGoAway(FirefoxChromeLauncher.java:269)&lt;br /&gt;
        at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:309)&lt;br /&gt;
        ... 19 more&lt;br /&gt;
 11:56:06.379 INFO - Got result: Failed to start new browser session: Unable to d&lt;br /&gt;
 elete file C:\DOKUME~1\fpolyak\LOKALE~1\Temp\customProfileDire782589f459f4d9c8c0&lt;br /&gt;
 164e05c1f8cf6\parent.lock on session null&lt;br /&gt;
  &lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
configdef.php:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 class SeleniumConfig {	var $host = &#039;http://joomla&#039;;&lt;br /&gt;
	var $path = &#039;&#039;;#&#039;/j1513/&#039;;&lt;br /&gt;
	var $username = &#039;admin&#039;;&lt;br /&gt;
	var $password = &#039;admin&#039;;&lt;br /&gt;
	var $browser = &#039;*chrome&#039;;&lt;br /&gt;
	var $baseURI = &amp;quot;c:/xampp/htdocs/joomla/&amp;quot;;}&lt;br /&gt;
 &lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Can anybody help me please? &lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
This might help: [http://clearspace.openqa.org/thread/15596 http://clearspace.openqa.org/thread/15596] [[User:Dextercowley|Mark Dexter]]&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Running_Automated_Tests_for_the_Joomla_CMS&amp;diff=28999</id>
		<title>Talk:Running Automated Tests for the Joomla CMS</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Running_Automated_Tests_for_the_Joomla_CMS&amp;diff=28999"/>
		<updated>2010-06-30T07:17:12Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* Re: Run the System Test Suite */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Re: Run the System Test Suite ==&lt;br /&gt;
I am trying to run the system test suite in the normal SVN configuration with the installation folder still present.  TestSuite calls doInstall which reruns the Joomla install and then reinstalls the sample data which, by the way, failed due to a bug (http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&amp;amp;tracker_item_id=21250).&lt;br /&gt;
&lt;br /&gt;
When I rename (or delete) the installation folder, TestSuite runs OK.&lt;br /&gt;
&lt;br /&gt;
The first Tip, though, says&lt;br /&gt;
* Make sure you run the tests on a clean database that has been installed with sample data. If you have made database changes, you should re-install Joomla! or otherwise put the database back to it&#039;s original post-installed state.&lt;br /&gt;
This seems to indicate that we shouldn&#039;t have the installation folder, as its presence will cause the sample data to be reinstalled anyway.  Remember that an SVN update will reinstate the installation folder anyway.&lt;br /&gt;
&lt;br /&gt;
What is the required configuration is for running TestSuite?&lt;br /&gt;
&lt;br /&gt;
== Create a Selenium Configuration File ==&lt;br /&gt;
&lt;br /&gt;
Would var $baseURI of in be the same as public $live_site?&lt;br /&gt;
&lt;br /&gt;
It could be, but we don&#039;t have access to Joomla! variables when running the tests. We are running them from a browser, outside the Joomla! framework. [[User:Dextercowley|Mark Dexter]] 22:01, 6 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Run the Test Suite ==&lt;br /&gt;
Where is / how do we create phpunit.bat?&lt;br /&gt;
&lt;br /&gt;
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)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Failed to start new browser session, shutdown browser and == &lt;br /&gt;
clear all session data... Lock file still present! &lt;br /&gt;
&lt;br /&gt;
Hi All,&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Start of Tests:&lt;br /&gt;
&lt;br /&gt;
 C:\Dokumente und Einstellungen\fpolyak&amp;gt;cd c:\xampp\htdocs\joomla\tests\system\&lt;br /&gt;
 C:\xampp\htdocs\joomla\tests\system&amp;gt;c:\xampp\php\phpunit.bat --bootstrap servers&lt;br /&gt;
 \configdef.php suite\TestSuite.php&lt;br /&gt;
 PHPUnit 3.4.10 by Sebastian Bergmann.&lt;br /&gt;
 Starting ControlPanelMenu.&lt;br /&gt;
 E^CBatchvorgang abbrechen (J/N)? j&lt;br /&gt;
 C:\xampp\htdocs\joomla\tests\system&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Selenium messages (with errors messages) : &lt;br /&gt;
&lt;br /&gt;
  C:\selenium\selenium-remote-control-1.0.1&amp;gt;c:\Programme\Java\jre1.6.0_07\bin\java&lt;br /&gt;
 .exe -jar selenium-server-1.0.1\selenium-server.jar -browserSessionReuse&lt;br /&gt;
 11:51:38.614 INFO - Java: Sun Microsystems Inc. 10.0-b23&lt;br /&gt;
 11:51:38.614 INFO - OS: Windows XP 5.1 x86&lt;br /&gt;
 11:51:38.614 INFO - v1.0.1 [2696], with Core v@VERSION@ [@REVISION@]&lt;br /&gt;
 11:51:38.614 INFO - Will recycle browser sessions when possible.&lt;br /&gt;
 11:51:38.755 INFO - Version Jetty/5.1.x&lt;br /&gt;
 11:51:38.755 INFO - Started HttpContext[/selenium-server/driver,/selenium-server&lt;br /&gt;
 /driver]&lt;br /&gt;
 11:51:38.755 INFO - Started HttpContext[/selenium-server,/selenium-server]&lt;br /&gt;
 11:51:38.755 INFO - Started HttpContext[/,/]&lt;br /&gt;
 11:51:38.771 INFO - Started SocketListener on 0.0.0.0:4444&lt;br /&gt;
 11:51:38.771 INFO - Started org.mortbay.jetty.Server@1e0cf70&lt;br /&gt;
 11:54:55.060 INFO - Checking Resource aliases&lt;br /&gt;
 11:54:55.075 INFO - Command request: getNewBrowserSession[*chrome, http://joomla&lt;br /&gt;
 ] on session null&lt;br /&gt;
 11:54:55.075 INFO - grabbing available session...&lt;br /&gt;
 11:54:55.075 INFO - creating new remote session&lt;br /&gt;
 11:54:55.544 INFO - Allocated session df59775d37ca4e77bbdb4d0f7b97d63c for http:&lt;br /&gt;
 //joomla, launching...&lt;br /&gt;
 11:54:55.794 INFO - Preparing Firefox profile...&lt;br /&gt;
 11:55:19.052 ERROR - Failed to start new browser session, shutdown browser and c&lt;br /&gt;
 lear all session data&lt;br /&gt;
 java.lang.RuntimeException: Firefox refused shutdown while preparing a profile&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:311)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.pop&lt;br /&gt;
 ulateCustomProfileDirectory(FirefoxChromeLauncher.java:106)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nch(FirefoxChromeLauncher.java:83)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nchRemoteSession(FirefoxChromeLauncher.java:350)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSessi&lt;br /&gt;
 on(BrowserSessionFactory.java:357)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 ( BrowserSessionFactory.java:122)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 (BrowserSessionFactory.java:84)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowse&lt;br /&gt;
 rSession(SeleniumDriverResourceHandler.java:699)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Se&lt;br /&gt;
 leniumDriverResourceHandler.java:393)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleComman&lt;br /&gt;
 dRequest(SeleniumDriverResourceHandler.java:364)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Selen&lt;br /&gt;
 iumDriverResourceHandler.java:125)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)&lt;br /&gt;
         at org.mortbay.http.HttpServer.service(HttpServer.java:909)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)&lt;br /&gt;
         at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:&lt;br /&gt;
 245)&lt;br /&gt;
         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)&lt;br /&gt;
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)&lt;br /&gt;
 Caused by: org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher$Fil&lt;br /&gt;
 eLockRemainedException: Lock file still present! C:\DOKUME~1\fpolyak\LOKALE~1\Te&lt;br /&gt;
 mp\customProfileDirdf59775d37ca4e77bbdb4d0f7b97d63c\parent.lock&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFileLockToGoAway(FirefoxChromeLauncher.java:269)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:309)&lt;br /&gt;
         ... 19 more&lt;br /&gt;
 11:55:31.806 INFO - Got result: Failed to start new browser session: Unable to d&lt;br /&gt;
 elete file C:\DOKUME~1\fpolyak\LOKALE~1\Temp\customProfileDirdf59775d37ca4e77bbd&lt;br /&gt;
 b4d0f7b97d63c\parent.lock on session null&lt;br /&gt;
 11:55:31.884 INFO - Command request: getNewBrowserSession[*chrome, http://joomla&lt;br /&gt;
 ] on session null&lt;br /&gt;
 11:55:31.884 INFO - grabbing available session...&lt;br /&gt;
 11:55:31.884 INFO - creating new remote session&lt;br /&gt;
 11:55:31.884 INFO - Allocated session e782589f459f4d9c8c0164e05c1f8cf6 for http:&lt;br /&gt;
 //joomla, launching...&lt;br /&gt;
 11:55:32.040 INFO - Preparing Firefox profile...&lt;br /&gt;
 11:55:53.719 ERROR - Failed to start new browser session, shutdown browser and c&lt;br /&gt;
 lear all session data&lt;br /&gt;
 java.lang.RuntimeException: Firefox refused shutdown while preparing a profile&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:311)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.pop&lt;br /&gt;
 ulateCustomProfileDirectory(FirefoxChromeLauncher.java:106)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nch(FirefoxChromeLauncher.java:83)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nchRemoteSession(FirefoxChromeLauncher.java:350)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSessi&lt;br /&gt;
 on(BrowserSessionFactory.java:357)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 (BrowserSessionFactory.java:122)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 (BrowserSessionFactory.java:84)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowse&lt;br /&gt;
 rSession(SeleniumDriverResourceHandler.java:699)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Se&lt;br /&gt;
 leniumDriverResourceHandler.java:393)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleComman&lt;br /&gt;
 dRequest(SeleniumDriverResourceHandler.java:364)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Selen&lt;br /&gt;
 iumDriverResourceHandler.java:125)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)&lt;br /&gt;
         at org.mortbay.http.HttpServer.service(HttpServer.java:909)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)&lt;br /&gt;
          at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)&lt;br /&gt;
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837) &lt;br /&gt;
        at org.mortbay.http.SocketListener.handleConnection(SocketListener .java:&lt;br /&gt;
 245) &lt;br /&gt;
         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)&lt;br /&gt;
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)&lt;br /&gt;
 Caused by: org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher$Fil&lt;br /&gt;
 eLockRemainedException: Lock file still present! C:\DOKUME~1\fpolyak\LOKALE~1\Te&lt;br /&gt;
 mp\customProfileDire782589f459f4d9c8c0164e05c1f8cf6\parent.lock&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFileLockToGoAway(FirefoxChromeLauncher.java:269)&lt;br /&gt;
        at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:309)&lt;br /&gt;
        ... 19 more&lt;br /&gt;
 11:56:06.379 INFO - Got result: Failed to start new browser session: Unable to d&lt;br /&gt;
 elete file C:\DOKUME~1\fpolyak\LOKALE~1\Temp\customProfileDire782589f459f4d9c8c0&lt;br /&gt;
 164e05c1f8cf6\parent.lock on session null&lt;br /&gt;
  &lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
configdef.php:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 class SeleniumConfig {	var $host = &#039;http://joomla&#039;;&lt;br /&gt;
	var $path = &#039;&#039;;#&#039;/j1513/&#039;;&lt;br /&gt;
	var $username = &#039;admin&#039;;&lt;br /&gt;
	var $password = &#039;admin&#039;;&lt;br /&gt;
	var $browser = &#039;*chrome&#039;;&lt;br /&gt;
	var $baseURI = &amp;quot;c:/xampp/htdocs/joomla/&amp;quot;;}&lt;br /&gt;
 &lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Can anybody help me please? &lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
This might help: [http://clearspace.openqa.org/thread/15596 http://clearspace.openqa.org/thread/15596] [[User:Dextercowley|Mark Dexter]]&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Running_Automated_Tests_for_the_Joomla_CMS&amp;diff=28998</id>
		<title>Talk:Running Automated Tests for the Joomla CMS</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Running_Automated_Tests_for_the_Joomla_CMS&amp;diff=28998"/>
		<updated>2010-06-30T07:16:40Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* Re: Run the System Test Suite */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Re: Run the System Test Suite ==&lt;br /&gt;
I am trying to run the system test suite in the normal SVN configuration with the installation folder still present.  TestSuite calls doInstall which reruns the Joomla install and then reinstalls the sample data which, by the way, failed due to a bug (http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&amp;amp;tracker_item_id=21250).&lt;br /&gt;
&lt;br /&gt;
When I rename (or delete) the installation folder, TestSuite runs OK.&lt;br /&gt;
&lt;br /&gt;
The first tip says&lt;br /&gt;
* Make sure you run the tests on a clean database that has been installed with sample data. If you have made database changes, you should re-install Joomla! or otherwise put the database back to it&#039;s original post-installed state.&lt;br /&gt;
This seems to indicate that we shouldn&#039;t have the installation folder, as its presence will cause the sample data to be reinstalled anyway.  Remember that an SVN update will reinstate the installation folder anyway.&lt;br /&gt;
&lt;br /&gt;
What is the required configuration is for running TestSuite?&lt;br /&gt;
&lt;br /&gt;
== Create a Selenium Configuration File ==&lt;br /&gt;
&lt;br /&gt;
Would var $baseURI of in be the same as public $live_site?&lt;br /&gt;
&lt;br /&gt;
It could be, but we don&#039;t have access to Joomla! variables when running the tests. We are running them from a browser, outside the Joomla! framework. [[User:Dextercowley|Mark Dexter]] 22:01, 6 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Run the Test Suite ==&lt;br /&gt;
Where is / how do we create phpunit.bat?&lt;br /&gt;
&lt;br /&gt;
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)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Failed to start new browser session, shutdown browser and == &lt;br /&gt;
clear all session data... Lock file still present! &lt;br /&gt;
&lt;br /&gt;
Hi All,&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Start of Tests:&lt;br /&gt;
&lt;br /&gt;
 C:\Dokumente und Einstellungen\fpolyak&amp;gt;cd c:\xampp\htdocs\joomla\tests\system\&lt;br /&gt;
 C:\xampp\htdocs\joomla\tests\system&amp;gt;c:\xampp\php\phpunit.bat --bootstrap servers&lt;br /&gt;
 \configdef.php suite\TestSuite.php&lt;br /&gt;
 PHPUnit 3.4.10 by Sebastian Bergmann.&lt;br /&gt;
 Starting ControlPanelMenu.&lt;br /&gt;
 E^CBatchvorgang abbrechen (J/N)? j&lt;br /&gt;
 C:\xampp\htdocs\joomla\tests\system&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Selenium messages (with errors messages) : &lt;br /&gt;
&lt;br /&gt;
  C:\selenium\selenium-remote-control-1.0.1&amp;gt;c:\Programme\Java\jre1.6.0_07\bin\java&lt;br /&gt;
 .exe -jar selenium-server-1.0.1\selenium-server.jar -browserSessionReuse&lt;br /&gt;
 11:51:38.614 INFO - Java: Sun Microsystems Inc. 10.0-b23&lt;br /&gt;
 11:51:38.614 INFO - OS: Windows XP 5.1 x86&lt;br /&gt;
 11:51:38.614 INFO - v1.0.1 [2696], with Core v@VERSION@ [@REVISION@]&lt;br /&gt;
 11:51:38.614 INFO - Will recycle browser sessions when possible.&lt;br /&gt;
 11:51:38.755 INFO - Version Jetty/5.1.x&lt;br /&gt;
 11:51:38.755 INFO - Started HttpContext[/selenium-server/driver,/selenium-server&lt;br /&gt;
 /driver]&lt;br /&gt;
 11:51:38.755 INFO - Started HttpContext[/selenium-server,/selenium-server]&lt;br /&gt;
 11:51:38.755 INFO - Started HttpContext[/,/]&lt;br /&gt;
 11:51:38.771 INFO - Started SocketListener on 0.0.0.0:4444&lt;br /&gt;
 11:51:38.771 INFO - Started org.mortbay.jetty.Server@1e0cf70&lt;br /&gt;
 11:54:55.060 INFO - Checking Resource aliases&lt;br /&gt;
 11:54:55.075 INFO - Command request: getNewBrowserSession[*chrome, http://joomla&lt;br /&gt;
 ] on session null&lt;br /&gt;
 11:54:55.075 INFO - grabbing available session...&lt;br /&gt;
 11:54:55.075 INFO - creating new remote session&lt;br /&gt;
 11:54:55.544 INFO - Allocated session df59775d37ca4e77bbdb4d0f7b97d63c for http:&lt;br /&gt;
 //joomla, launching...&lt;br /&gt;
 11:54:55.794 INFO - Preparing Firefox profile...&lt;br /&gt;
 11:55:19.052 ERROR - Failed to start new browser session, shutdown browser and c&lt;br /&gt;
 lear all session data&lt;br /&gt;
 java.lang.RuntimeException: Firefox refused shutdown while preparing a profile&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:311)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.pop&lt;br /&gt;
 ulateCustomProfileDirectory(FirefoxChromeLauncher.java:106)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nch(FirefoxChromeLauncher.java:83)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nchRemoteSession(FirefoxChromeLauncher.java:350)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSessi&lt;br /&gt;
 on(BrowserSessionFactory.java:357)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 ( BrowserSessionFactory.java:122)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 (BrowserSessionFactory.java:84)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowse&lt;br /&gt;
 rSession(SeleniumDriverResourceHandler.java:699)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Se&lt;br /&gt;
 leniumDriverResourceHandler.java:393)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleComman&lt;br /&gt;
 dRequest(SeleniumDriverResourceHandler.java:364)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Selen&lt;br /&gt;
 iumDriverResourceHandler.java:125)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)&lt;br /&gt;
         at org.mortbay.http.HttpServer.service(HttpServer.java:909)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)&lt;br /&gt;
         at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:&lt;br /&gt;
 245)&lt;br /&gt;
         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)&lt;br /&gt;
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)&lt;br /&gt;
 Caused by: org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher$Fil&lt;br /&gt;
 eLockRemainedException: Lock file still present! C:\DOKUME~1\fpolyak\LOKALE~1\Te&lt;br /&gt;
 mp\customProfileDirdf59775d37ca4e77bbdb4d0f7b97d63c\parent.lock&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFileLockToGoAway(FirefoxChromeLauncher.java:269)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:309)&lt;br /&gt;
         ... 19 more&lt;br /&gt;
 11:55:31.806 INFO - Got result: Failed to start new browser session: Unable to d&lt;br /&gt;
 elete file C:\DOKUME~1\fpolyak\LOKALE~1\Temp\customProfileDirdf59775d37ca4e77bbd&lt;br /&gt;
 b4d0f7b97d63c\parent.lock on session null&lt;br /&gt;
 11:55:31.884 INFO - Command request: getNewBrowserSession[*chrome, http://joomla&lt;br /&gt;
 ] on session null&lt;br /&gt;
 11:55:31.884 INFO - grabbing available session...&lt;br /&gt;
 11:55:31.884 INFO - creating new remote session&lt;br /&gt;
 11:55:31.884 INFO - Allocated session e782589f459f4d9c8c0164e05c1f8cf6 for http:&lt;br /&gt;
 //joomla, launching...&lt;br /&gt;
 11:55:32.040 INFO - Preparing Firefox profile...&lt;br /&gt;
 11:55:53.719 ERROR - Failed to start new browser session, shutdown browser and c&lt;br /&gt;
 lear all session data&lt;br /&gt;
 java.lang.RuntimeException: Firefox refused shutdown while preparing a profile&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:311)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.pop&lt;br /&gt;
 ulateCustomProfileDirectory(FirefoxChromeLauncher.java:106)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nch(FirefoxChromeLauncher.java:83)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nchRemoteSession(FirefoxChromeLauncher.java:350)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSessi&lt;br /&gt;
 on(BrowserSessionFactory.java:357)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 (BrowserSessionFactory.java:122)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 (BrowserSessionFactory.java:84)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowse&lt;br /&gt;
 rSession(SeleniumDriverResourceHandler.java:699)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Se&lt;br /&gt;
 leniumDriverResourceHandler.java:393)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleComman&lt;br /&gt;
 dRequest(SeleniumDriverResourceHandler.java:364)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Selen&lt;br /&gt;
 iumDriverResourceHandler.java:125)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)&lt;br /&gt;
         at org.mortbay.http.HttpServer.service(HttpServer.java:909)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)&lt;br /&gt;
          at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)&lt;br /&gt;
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837) &lt;br /&gt;
        at org.mortbay.http.SocketListener.handleConnection(SocketListener .java:&lt;br /&gt;
 245) &lt;br /&gt;
         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)&lt;br /&gt;
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)&lt;br /&gt;
 Caused by: org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher$Fil&lt;br /&gt;
 eLockRemainedException: Lock file still present! C:\DOKUME~1\fpolyak\LOKALE~1\Te&lt;br /&gt;
 mp\customProfileDire782589f459f4d9c8c0164e05c1f8cf6\parent.lock&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFileLockToGoAway(FirefoxChromeLauncher.java:269)&lt;br /&gt;
        at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:309)&lt;br /&gt;
        ... 19 more&lt;br /&gt;
 11:56:06.379 INFO - Got result: Failed to start new browser session: Unable to d&lt;br /&gt;
 elete file C:\DOKUME~1\fpolyak\LOKALE~1\Temp\customProfileDire782589f459f4d9c8c0&lt;br /&gt;
 164e05c1f8cf6\parent.lock on session null&lt;br /&gt;
  &lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
configdef.php:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 class SeleniumConfig {	var $host = &#039;http://joomla&#039;;&lt;br /&gt;
	var $path = &#039;&#039;;#&#039;/j1513/&#039;;&lt;br /&gt;
	var $username = &#039;admin&#039;;&lt;br /&gt;
	var $password = &#039;admin&#039;;&lt;br /&gt;
	var $browser = &#039;*chrome&#039;;&lt;br /&gt;
	var $baseURI = &amp;quot;c:/xampp/htdocs/joomla/&amp;quot;;}&lt;br /&gt;
 &lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Can anybody help me please? &lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
This might help: [http://clearspace.openqa.org/thread/15596 http://clearspace.openqa.org/thread/15596] [[User:Dextercowley|Mark Dexter]]&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Running_Automated_Tests_for_the_Joomla_CMS&amp;diff=28997</id>
		<title>Talk:Running Automated Tests for the Joomla CMS</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Running_Automated_Tests_for_the_Joomla_CMS&amp;diff=28997"/>
		<updated>2010-06-30T07:08:14Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* Re: Run the System Test Suite */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Re: Run the System Test Suite ==&lt;br /&gt;
I am trying to run the system test suite in the normal SVN configuration with the installation folder still present.  TestSuite calls doInstall which reruns the Joomla install and then reinstalls the sample data which, by the way, failed due to a bug (http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&amp;amp;tracker_item_id=21250).&lt;br /&gt;
&lt;br /&gt;
When I rename (or delete) the installation folder, TestSuite runs OK.&lt;br /&gt;
&lt;br /&gt;
The first tip says&lt;br /&gt;
* Make sure you run the tests on a clean database that has been installed with sample data. If you have made database changes, you should re-install Joomla! or otherwise put the database back to it&#039;s original post-installed state.&lt;br /&gt;
This seems to indicate that we shouldn&#039;t have the installation folder, as its presence will cause the sample data to be reinstalled anyway.&lt;br /&gt;
&lt;br /&gt;
Could someone please clarify this.&lt;br /&gt;
&lt;br /&gt;
== Create a Selenium Configuration File ==&lt;br /&gt;
&lt;br /&gt;
Would var $baseURI of in be the same as public $live_site?&lt;br /&gt;
&lt;br /&gt;
It could be, but we don&#039;t have access to Joomla! variables when running the tests. We are running them from a browser, outside the Joomla! framework. [[User:Dextercowley|Mark Dexter]] 22:01, 6 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Run the Test Suite ==&lt;br /&gt;
Where is / how do we create phpunit.bat?&lt;br /&gt;
&lt;br /&gt;
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)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Failed to start new browser session, shutdown browser and == &lt;br /&gt;
clear all session data... Lock file still present! &lt;br /&gt;
&lt;br /&gt;
Hi All,&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Start of Tests:&lt;br /&gt;
&lt;br /&gt;
 C:\Dokumente und Einstellungen\fpolyak&amp;gt;cd c:\xampp\htdocs\joomla\tests\system\&lt;br /&gt;
 C:\xampp\htdocs\joomla\tests\system&amp;gt;c:\xampp\php\phpunit.bat --bootstrap servers&lt;br /&gt;
 \configdef.php suite\TestSuite.php&lt;br /&gt;
 PHPUnit 3.4.10 by Sebastian Bergmann.&lt;br /&gt;
 Starting ControlPanelMenu.&lt;br /&gt;
 E^CBatchvorgang abbrechen (J/N)? j&lt;br /&gt;
 C:\xampp\htdocs\joomla\tests\system&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Selenium messages (with errors messages) : &lt;br /&gt;
&lt;br /&gt;
  C:\selenium\selenium-remote-control-1.0.1&amp;gt;c:\Programme\Java\jre1.6.0_07\bin\java&lt;br /&gt;
 .exe -jar selenium-server-1.0.1\selenium-server.jar -browserSessionReuse&lt;br /&gt;
 11:51:38.614 INFO - Java: Sun Microsystems Inc. 10.0-b23&lt;br /&gt;
 11:51:38.614 INFO - OS: Windows XP 5.1 x86&lt;br /&gt;
 11:51:38.614 INFO - v1.0.1 [2696], with Core v@VERSION@ [@REVISION@]&lt;br /&gt;
 11:51:38.614 INFO - Will recycle browser sessions when possible.&lt;br /&gt;
 11:51:38.755 INFO - Version Jetty/5.1.x&lt;br /&gt;
 11:51:38.755 INFO - Started HttpContext[/selenium-server/driver,/selenium-server&lt;br /&gt;
 /driver]&lt;br /&gt;
 11:51:38.755 INFO - Started HttpContext[/selenium-server,/selenium-server]&lt;br /&gt;
 11:51:38.755 INFO - Started HttpContext[/,/]&lt;br /&gt;
 11:51:38.771 INFO - Started SocketListener on 0.0.0.0:4444&lt;br /&gt;
 11:51:38.771 INFO - Started org.mortbay.jetty.Server@1e0cf70&lt;br /&gt;
 11:54:55.060 INFO - Checking Resource aliases&lt;br /&gt;
 11:54:55.075 INFO - Command request: getNewBrowserSession[*chrome, http://joomla&lt;br /&gt;
 ] on session null&lt;br /&gt;
 11:54:55.075 INFO - grabbing available session...&lt;br /&gt;
 11:54:55.075 INFO - creating new remote session&lt;br /&gt;
 11:54:55.544 INFO - Allocated session df59775d37ca4e77bbdb4d0f7b97d63c for http:&lt;br /&gt;
 //joomla, launching...&lt;br /&gt;
 11:54:55.794 INFO - Preparing Firefox profile...&lt;br /&gt;
 11:55:19.052 ERROR - Failed to start new browser session, shutdown browser and c&lt;br /&gt;
 lear all session data&lt;br /&gt;
 java.lang.RuntimeException: Firefox refused shutdown while preparing a profile&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:311)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.pop&lt;br /&gt;
 ulateCustomProfileDirectory(FirefoxChromeLauncher.java:106)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nch(FirefoxChromeLauncher.java:83)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nchRemoteSession(FirefoxChromeLauncher.java:350)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSessi&lt;br /&gt;
 on(BrowserSessionFactory.java:357)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 ( BrowserSessionFactory.java:122)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 (BrowserSessionFactory.java:84)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowse&lt;br /&gt;
 rSession(SeleniumDriverResourceHandler.java:699)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Se&lt;br /&gt;
 leniumDriverResourceHandler.java:393)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleComman&lt;br /&gt;
 dRequest(SeleniumDriverResourceHandler.java:364)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Selen&lt;br /&gt;
 iumDriverResourceHandler.java:125)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)&lt;br /&gt;
         at org.mortbay.http.HttpServer.service(HttpServer.java:909)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)&lt;br /&gt;
         at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:&lt;br /&gt;
 245)&lt;br /&gt;
         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)&lt;br /&gt;
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)&lt;br /&gt;
 Caused by: org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher$Fil&lt;br /&gt;
 eLockRemainedException: Lock file still present! C:\DOKUME~1\fpolyak\LOKALE~1\Te&lt;br /&gt;
 mp\customProfileDirdf59775d37ca4e77bbdb4d0f7b97d63c\parent.lock&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFileLockToGoAway(FirefoxChromeLauncher.java:269)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:309)&lt;br /&gt;
         ... 19 more&lt;br /&gt;
 11:55:31.806 INFO - Got result: Failed to start new browser session: Unable to d&lt;br /&gt;
 elete file C:\DOKUME~1\fpolyak\LOKALE~1\Temp\customProfileDirdf59775d37ca4e77bbd&lt;br /&gt;
 b4d0f7b97d63c\parent.lock on session null&lt;br /&gt;
 11:55:31.884 INFO - Command request: getNewBrowserSession[*chrome, http://joomla&lt;br /&gt;
 ] on session null&lt;br /&gt;
 11:55:31.884 INFO - grabbing available session...&lt;br /&gt;
 11:55:31.884 INFO - creating new remote session&lt;br /&gt;
 11:55:31.884 INFO - Allocated session e782589f459f4d9c8c0164e05c1f8cf6 for http:&lt;br /&gt;
 //joomla, launching...&lt;br /&gt;
 11:55:32.040 INFO - Preparing Firefox profile...&lt;br /&gt;
 11:55:53.719 ERROR - Failed to start new browser session, shutdown browser and c&lt;br /&gt;
 lear all session data&lt;br /&gt;
 java.lang.RuntimeException: Firefox refused shutdown while preparing a profile&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:311)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.pop&lt;br /&gt;
 ulateCustomProfileDirectory(FirefoxChromeLauncher.java:106)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nch(FirefoxChromeLauncher.java:83)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nchRemoteSession(FirefoxChromeLauncher.java:350)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSessi&lt;br /&gt;
 on(BrowserSessionFactory.java:357)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 (BrowserSessionFactory.java:122)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 (BrowserSessionFactory.java:84)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowse&lt;br /&gt;
 rSession(SeleniumDriverResourceHandler.java:699)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Se&lt;br /&gt;
 leniumDriverResourceHandler.java:393)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleComman&lt;br /&gt;
 dRequest(SeleniumDriverResourceHandler.java:364)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Selen&lt;br /&gt;
 iumDriverResourceHandler.java:125)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)&lt;br /&gt;
         at org.mortbay.http.HttpServer.service(HttpServer.java:909)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)&lt;br /&gt;
          at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)&lt;br /&gt;
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837) &lt;br /&gt;
        at org.mortbay.http.SocketListener.handleConnection(SocketListener .java:&lt;br /&gt;
 245) &lt;br /&gt;
         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)&lt;br /&gt;
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)&lt;br /&gt;
 Caused by: org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher$Fil&lt;br /&gt;
 eLockRemainedException: Lock file still present! C:\DOKUME~1\fpolyak\LOKALE~1\Te&lt;br /&gt;
 mp\customProfileDire782589f459f4d9c8c0164e05c1f8cf6\parent.lock&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFileLockToGoAway(FirefoxChromeLauncher.java:269)&lt;br /&gt;
        at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:309)&lt;br /&gt;
        ... 19 more&lt;br /&gt;
 11:56:06.379 INFO - Got result: Failed to start new browser session: Unable to d&lt;br /&gt;
 elete file C:\DOKUME~1\fpolyak\LOKALE~1\Temp\customProfileDire782589f459f4d9c8c0&lt;br /&gt;
 164e05c1f8cf6\parent.lock on session null&lt;br /&gt;
  &lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
configdef.php:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 class SeleniumConfig {	var $host = &#039;http://joomla&#039;;&lt;br /&gt;
	var $path = &#039;&#039;;#&#039;/j1513/&#039;;&lt;br /&gt;
	var $username = &#039;admin&#039;;&lt;br /&gt;
	var $password = &#039;admin&#039;;&lt;br /&gt;
	var $browser = &#039;*chrome&#039;;&lt;br /&gt;
	var $baseURI = &amp;quot;c:/xampp/htdocs/joomla/&amp;quot;;}&lt;br /&gt;
 &lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Can anybody help me please? &lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
This might help: [http://clearspace.openqa.org/thread/15596 http://clearspace.openqa.org/thread/15596] [[User:Dextercowley|Mark Dexter]]&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Running_Automated_Tests_for_the_Joomla_CMS&amp;diff=28996</id>
		<title>Talk:Running Automated Tests for the Joomla CMS</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Running_Automated_Tests_for_the_Joomla_CMS&amp;diff=28996"/>
		<updated>2010-06-30T06:58:26Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* Re: Run the System Test Suite */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Re: Run the System Test Suite ==&lt;br /&gt;
I am trying to run the system test suite in the normal SVN configuration with the installation folder still present.  TestSuite calls doInstall which reruns the Joomla install and then reinstalls the sample data.  This, by the way, failed due to a bug (http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&amp;amp;tracker_item_id=21250).&lt;br /&gt;
&lt;br /&gt;
When I rename (or delete) the installation folder, TestSuite runs OK.&lt;br /&gt;
&lt;br /&gt;
The first tip says&lt;br /&gt;
* Make sure you run the tests on a clean database that has been installed with sample data. If you have made database changes, you should re-install Joomla! or otherwise put the database back to it&#039;s original post-installed state.&lt;br /&gt;
This seems to indicate that we shouldn&#039;t have the installation folder, as its presence will cause the sample data to be reinstalled anyway.&lt;br /&gt;
&lt;br /&gt;
Could someone please clarify this.&lt;br /&gt;
&lt;br /&gt;
== Create a Selenium Configuration File ==&lt;br /&gt;
&lt;br /&gt;
Would var $baseURI of in be the same as public $live_site?&lt;br /&gt;
&lt;br /&gt;
It could be, but we don&#039;t have access to Joomla! variables when running the tests. We are running them from a browser, outside the Joomla! framework. [[User:Dextercowley|Mark Dexter]] 22:01, 6 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Run the Test Suite ==&lt;br /&gt;
Where is / how do we create phpunit.bat?&lt;br /&gt;
&lt;br /&gt;
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)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Failed to start new browser session, shutdown browser and == &lt;br /&gt;
clear all session data... Lock file still present! &lt;br /&gt;
&lt;br /&gt;
Hi All,&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Start of Tests:&lt;br /&gt;
&lt;br /&gt;
 C:\Dokumente und Einstellungen\fpolyak&amp;gt;cd c:\xampp\htdocs\joomla\tests\system\&lt;br /&gt;
 C:\xampp\htdocs\joomla\tests\system&amp;gt;c:\xampp\php\phpunit.bat --bootstrap servers&lt;br /&gt;
 \configdef.php suite\TestSuite.php&lt;br /&gt;
 PHPUnit 3.4.10 by Sebastian Bergmann.&lt;br /&gt;
 Starting ControlPanelMenu.&lt;br /&gt;
 E^CBatchvorgang abbrechen (J/N)? j&lt;br /&gt;
 C:\xampp\htdocs\joomla\tests\system&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Selenium messages (with errors messages) : &lt;br /&gt;
&lt;br /&gt;
  C:\selenium\selenium-remote-control-1.0.1&amp;gt;c:\Programme\Java\jre1.6.0_07\bin\java&lt;br /&gt;
 .exe -jar selenium-server-1.0.1\selenium-server.jar -browserSessionReuse&lt;br /&gt;
 11:51:38.614 INFO - Java: Sun Microsystems Inc. 10.0-b23&lt;br /&gt;
 11:51:38.614 INFO - OS: Windows XP 5.1 x86&lt;br /&gt;
 11:51:38.614 INFO - v1.0.1 [2696], with Core v@VERSION@ [@REVISION@]&lt;br /&gt;
 11:51:38.614 INFO - Will recycle browser sessions when possible.&lt;br /&gt;
 11:51:38.755 INFO - Version Jetty/5.1.x&lt;br /&gt;
 11:51:38.755 INFO - Started HttpContext[/selenium-server/driver,/selenium-server&lt;br /&gt;
 /driver]&lt;br /&gt;
 11:51:38.755 INFO - Started HttpContext[/selenium-server,/selenium-server]&lt;br /&gt;
 11:51:38.755 INFO - Started HttpContext[/,/]&lt;br /&gt;
 11:51:38.771 INFO - Started SocketListener on 0.0.0.0:4444&lt;br /&gt;
 11:51:38.771 INFO - Started org.mortbay.jetty.Server@1e0cf70&lt;br /&gt;
 11:54:55.060 INFO - Checking Resource aliases&lt;br /&gt;
 11:54:55.075 INFO - Command request: getNewBrowserSession[*chrome, http://joomla&lt;br /&gt;
 ] on session null&lt;br /&gt;
 11:54:55.075 INFO - grabbing available session...&lt;br /&gt;
 11:54:55.075 INFO - creating new remote session&lt;br /&gt;
 11:54:55.544 INFO - Allocated session df59775d37ca4e77bbdb4d0f7b97d63c for http:&lt;br /&gt;
 //joomla, launching...&lt;br /&gt;
 11:54:55.794 INFO - Preparing Firefox profile...&lt;br /&gt;
 11:55:19.052 ERROR - Failed to start new browser session, shutdown browser and c&lt;br /&gt;
 lear all session data&lt;br /&gt;
 java.lang.RuntimeException: Firefox refused shutdown while preparing a profile&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:311)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.pop&lt;br /&gt;
 ulateCustomProfileDirectory(FirefoxChromeLauncher.java:106)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nch(FirefoxChromeLauncher.java:83)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nchRemoteSession(FirefoxChromeLauncher.java:350)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSessi&lt;br /&gt;
 on(BrowserSessionFactory.java:357)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 ( BrowserSessionFactory.java:122)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 (BrowserSessionFactory.java:84)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowse&lt;br /&gt;
 rSession(SeleniumDriverResourceHandler.java:699)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Se&lt;br /&gt;
 leniumDriverResourceHandler.java:393)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleComman&lt;br /&gt;
 dRequest(SeleniumDriverResourceHandler.java:364)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Selen&lt;br /&gt;
 iumDriverResourceHandler.java:125)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)&lt;br /&gt;
         at org.mortbay.http.HttpServer.service(HttpServer.java:909)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)&lt;br /&gt;
         at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:&lt;br /&gt;
 245)&lt;br /&gt;
         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)&lt;br /&gt;
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)&lt;br /&gt;
 Caused by: org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher$Fil&lt;br /&gt;
 eLockRemainedException: Lock file still present! C:\DOKUME~1\fpolyak\LOKALE~1\Te&lt;br /&gt;
 mp\customProfileDirdf59775d37ca4e77bbdb4d0f7b97d63c\parent.lock&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFileLockToGoAway(FirefoxChromeLauncher.java:269)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:309)&lt;br /&gt;
         ... 19 more&lt;br /&gt;
 11:55:31.806 INFO - Got result: Failed to start new browser session: Unable to d&lt;br /&gt;
 elete file C:\DOKUME~1\fpolyak\LOKALE~1\Temp\customProfileDirdf59775d37ca4e77bbd&lt;br /&gt;
 b4d0f7b97d63c\parent.lock on session null&lt;br /&gt;
 11:55:31.884 INFO - Command request: getNewBrowserSession[*chrome, http://joomla&lt;br /&gt;
 ] on session null&lt;br /&gt;
 11:55:31.884 INFO - grabbing available session...&lt;br /&gt;
 11:55:31.884 INFO - creating new remote session&lt;br /&gt;
 11:55:31.884 INFO - Allocated session e782589f459f4d9c8c0164e05c1f8cf6 for http:&lt;br /&gt;
 //joomla, launching...&lt;br /&gt;
 11:55:32.040 INFO - Preparing Firefox profile...&lt;br /&gt;
 11:55:53.719 ERROR - Failed to start new browser session, shutdown browser and c&lt;br /&gt;
 lear all session data&lt;br /&gt;
 java.lang.RuntimeException: Firefox refused shutdown while preparing a profile&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:311)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.pop&lt;br /&gt;
 ulateCustomProfileDirectory(FirefoxChromeLauncher.java:106)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nch(FirefoxChromeLauncher.java:83)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nchRemoteSession(FirefoxChromeLauncher.java:350)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSessi&lt;br /&gt;
 on(BrowserSessionFactory.java:357)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 (BrowserSessionFactory.java:122)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 (BrowserSessionFactory.java:84)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowse&lt;br /&gt;
 rSession(SeleniumDriverResourceHandler.java:699)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Se&lt;br /&gt;
 leniumDriverResourceHandler.java:393)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleComman&lt;br /&gt;
 dRequest(SeleniumDriverResourceHandler.java:364)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Selen&lt;br /&gt;
 iumDriverResourceHandler.java:125)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)&lt;br /&gt;
         at org.mortbay.http.HttpServer.service(HttpServer.java:909)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)&lt;br /&gt;
          at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)&lt;br /&gt;
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837) &lt;br /&gt;
        at org.mortbay.http.SocketListener.handleConnection(SocketListener .java:&lt;br /&gt;
 245) &lt;br /&gt;
         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)&lt;br /&gt;
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)&lt;br /&gt;
 Caused by: org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher$Fil&lt;br /&gt;
 eLockRemainedException: Lock file still present! C:\DOKUME~1\fpolyak\LOKALE~1\Te&lt;br /&gt;
 mp\customProfileDire782589f459f4d9c8c0164e05c1f8cf6\parent.lock&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFileLockToGoAway(FirefoxChromeLauncher.java:269)&lt;br /&gt;
        at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:309)&lt;br /&gt;
        ... 19 more&lt;br /&gt;
 11:56:06.379 INFO - Got result: Failed to start new browser session: Unable to d&lt;br /&gt;
 elete file C:\DOKUME~1\fpolyak\LOKALE~1\Temp\customProfileDire782589f459f4d9c8c0&lt;br /&gt;
 164e05c1f8cf6\parent.lock on session null&lt;br /&gt;
  &lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
configdef.php:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 class SeleniumConfig {	var $host = &#039;http://joomla&#039;;&lt;br /&gt;
	var $path = &#039;&#039;;#&#039;/j1513/&#039;;&lt;br /&gt;
	var $username = &#039;admin&#039;;&lt;br /&gt;
	var $password = &#039;admin&#039;;&lt;br /&gt;
	var $browser = &#039;*chrome&#039;;&lt;br /&gt;
	var $baseURI = &amp;quot;c:/xampp/htdocs/joomla/&amp;quot;;}&lt;br /&gt;
 &lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Can anybody help me please? &lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
This might help: [http://clearspace.openqa.org/thread/15596 http://clearspace.openqa.org/thread/15596] [[User:Dextercowley|Mark Dexter]]&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Running_Automated_Tests_for_the_Joomla_CMS&amp;diff=28995</id>
		<title>Talk:Running Automated Tests for the Joomla CMS</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Running_Automated_Tests_for_the_Joomla_CMS&amp;diff=28995"/>
		<updated>2010-06-30T06:57:42Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* Re: Run the System Test Suite */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Re: Run the System Test Suite ==&lt;br /&gt;
I am trying to run the system test suite in the normal SVN configuration with the installation folder still present.  TestSuite calls doInstall which reruns the Joomla install and then reinstalls the sample data.  This, by the way, failed due to a bug (http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&amp;amp;tracker_item_id=21250).&lt;br /&gt;
&lt;br /&gt;
When I rename (or delete) the installation folder, TestSuite runs OK.&lt;br /&gt;
&lt;br /&gt;
The first tip says&lt;br /&gt;
* Make sure you run the tests on a clean database that has been installed with sample data. If you have made database changes, you should re-install Joomla! or otherwise put the database back to it&#039;s original post-installed state.&lt;br /&gt;
This seems to indicate that we shouldn&#039;t have the installation folder, as its presence will cause the sample data to be reinstalled anyway.&lt;br /&gt;
&lt;br /&gt;
Could someone please clarify this&lt;br /&gt;
&lt;br /&gt;
== Create a Selenium Configuration File ==&lt;br /&gt;
&lt;br /&gt;
Would var $baseURI of in be the same as public $live_site?&lt;br /&gt;
&lt;br /&gt;
It could be, but we don&#039;t have access to Joomla! variables when running the tests. We are running them from a browser, outside the Joomla! framework. [[User:Dextercowley|Mark Dexter]] 22:01, 6 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Run the Test Suite ==&lt;br /&gt;
Where is / how do we create phpunit.bat?&lt;br /&gt;
&lt;br /&gt;
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)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Failed to start new browser session, shutdown browser and == &lt;br /&gt;
clear all session data... Lock file still present! &lt;br /&gt;
&lt;br /&gt;
Hi All,&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Start of Tests:&lt;br /&gt;
&lt;br /&gt;
 C:\Dokumente und Einstellungen\fpolyak&amp;gt;cd c:\xampp\htdocs\joomla\tests\system\&lt;br /&gt;
 C:\xampp\htdocs\joomla\tests\system&amp;gt;c:\xampp\php\phpunit.bat --bootstrap servers&lt;br /&gt;
 \configdef.php suite\TestSuite.php&lt;br /&gt;
 PHPUnit 3.4.10 by Sebastian Bergmann.&lt;br /&gt;
 Starting ControlPanelMenu.&lt;br /&gt;
 E^CBatchvorgang abbrechen (J/N)? j&lt;br /&gt;
 C:\xampp\htdocs\joomla\tests\system&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Selenium messages (with errors messages) : &lt;br /&gt;
&lt;br /&gt;
  C:\selenium\selenium-remote-control-1.0.1&amp;gt;c:\Programme\Java\jre1.6.0_07\bin\java&lt;br /&gt;
 .exe -jar selenium-server-1.0.1\selenium-server.jar -browserSessionReuse&lt;br /&gt;
 11:51:38.614 INFO - Java: Sun Microsystems Inc. 10.0-b23&lt;br /&gt;
 11:51:38.614 INFO - OS: Windows XP 5.1 x86&lt;br /&gt;
 11:51:38.614 INFO - v1.0.1 [2696], with Core v@VERSION@ [@REVISION@]&lt;br /&gt;
 11:51:38.614 INFO - Will recycle browser sessions when possible.&lt;br /&gt;
 11:51:38.755 INFO - Version Jetty/5.1.x&lt;br /&gt;
 11:51:38.755 INFO - Started HttpContext[/selenium-server/driver,/selenium-server&lt;br /&gt;
 /driver]&lt;br /&gt;
 11:51:38.755 INFO - Started HttpContext[/selenium-server,/selenium-server]&lt;br /&gt;
 11:51:38.755 INFO - Started HttpContext[/,/]&lt;br /&gt;
 11:51:38.771 INFO - Started SocketListener on 0.0.0.0:4444&lt;br /&gt;
 11:51:38.771 INFO - Started org.mortbay.jetty.Server@1e0cf70&lt;br /&gt;
 11:54:55.060 INFO - Checking Resource aliases&lt;br /&gt;
 11:54:55.075 INFO - Command request: getNewBrowserSession[*chrome, http://joomla&lt;br /&gt;
 ] on session null&lt;br /&gt;
 11:54:55.075 INFO - grabbing available session...&lt;br /&gt;
 11:54:55.075 INFO - creating new remote session&lt;br /&gt;
 11:54:55.544 INFO - Allocated session df59775d37ca4e77bbdb4d0f7b97d63c for http:&lt;br /&gt;
 //joomla, launching...&lt;br /&gt;
 11:54:55.794 INFO - Preparing Firefox profile...&lt;br /&gt;
 11:55:19.052 ERROR - Failed to start new browser session, shutdown browser and c&lt;br /&gt;
 lear all session data&lt;br /&gt;
 java.lang.RuntimeException: Firefox refused shutdown while preparing a profile&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:311)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.pop&lt;br /&gt;
 ulateCustomProfileDirectory(FirefoxChromeLauncher.java:106)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nch(FirefoxChromeLauncher.java:83)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nchRemoteSession(FirefoxChromeLauncher.java:350)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSessi&lt;br /&gt;
 on(BrowserSessionFactory.java:357)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 ( BrowserSessionFactory.java:122)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 (BrowserSessionFactory.java:84)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowse&lt;br /&gt;
 rSession(SeleniumDriverResourceHandler.java:699)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Se&lt;br /&gt;
 leniumDriverResourceHandler.java:393)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleComman&lt;br /&gt;
 dRequest(SeleniumDriverResourceHandler.java:364)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Selen&lt;br /&gt;
 iumDriverResourceHandler.java:125)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)&lt;br /&gt;
         at org.mortbay.http.HttpServer.service(HttpServer.java:909)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)&lt;br /&gt;
         at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:&lt;br /&gt;
 245)&lt;br /&gt;
         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)&lt;br /&gt;
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)&lt;br /&gt;
 Caused by: org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher$Fil&lt;br /&gt;
 eLockRemainedException: Lock file still present! C:\DOKUME~1\fpolyak\LOKALE~1\Te&lt;br /&gt;
 mp\customProfileDirdf59775d37ca4e77bbdb4d0f7b97d63c\parent.lock&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFileLockToGoAway(FirefoxChromeLauncher.java:269)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:309)&lt;br /&gt;
         ... 19 more&lt;br /&gt;
 11:55:31.806 INFO - Got result: Failed to start new browser session: Unable to d&lt;br /&gt;
 elete file C:\DOKUME~1\fpolyak\LOKALE~1\Temp\customProfileDirdf59775d37ca4e77bbd&lt;br /&gt;
 b4d0f7b97d63c\parent.lock on session null&lt;br /&gt;
 11:55:31.884 INFO - Command request: getNewBrowserSession[*chrome, http://joomla&lt;br /&gt;
 ] on session null&lt;br /&gt;
 11:55:31.884 INFO - grabbing available session...&lt;br /&gt;
 11:55:31.884 INFO - creating new remote session&lt;br /&gt;
 11:55:31.884 INFO - Allocated session e782589f459f4d9c8c0164e05c1f8cf6 for http:&lt;br /&gt;
 //joomla, launching...&lt;br /&gt;
 11:55:32.040 INFO - Preparing Firefox profile...&lt;br /&gt;
 11:55:53.719 ERROR - Failed to start new browser session, shutdown browser and c&lt;br /&gt;
 lear all session data&lt;br /&gt;
 java.lang.RuntimeException: Firefox refused shutdown while preparing a profile&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:311)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.pop&lt;br /&gt;
 ulateCustomProfileDirectory(FirefoxChromeLauncher.java:106)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nch(FirefoxChromeLauncher.java:83)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nchRemoteSession(FirefoxChromeLauncher.java:350)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSessi&lt;br /&gt;
 on(BrowserSessionFactory.java:357)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 (BrowserSessionFactory.java:122)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 (BrowserSessionFactory.java:84)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowse&lt;br /&gt;
 rSession(SeleniumDriverResourceHandler.java:699)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Se&lt;br /&gt;
 leniumDriverResourceHandler.java:393)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleComman&lt;br /&gt;
 dRequest(SeleniumDriverResourceHandler.java:364)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Selen&lt;br /&gt;
 iumDriverResourceHandler.java:125)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)&lt;br /&gt;
         at org.mortbay.http.HttpServer.service(HttpServer.java:909)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)&lt;br /&gt;
          at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)&lt;br /&gt;
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837) &lt;br /&gt;
        at org.mortbay.http.SocketListener.handleConnection(SocketListener .java:&lt;br /&gt;
 245) &lt;br /&gt;
         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)&lt;br /&gt;
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)&lt;br /&gt;
 Caused by: org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher$Fil&lt;br /&gt;
 eLockRemainedException: Lock file still present! C:\DOKUME~1\fpolyak\LOKALE~1\Te&lt;br /&gt;
 mp\customProfileDire782589f459f4d9c8c0164e05c1f8cf6\parent.lock&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFileLockToGoAway(FirefoxChromeLauncher.java:269)&lt;br /&gt;
        at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:309)&lt;br /&gt;
        ... 19 more&lt;br /&gt;
 11:56:06.379 INFO - Got result: Failed to start new browser session: Unable to d&lt;br /&gt;
 elete file C:\DOKUME~1\fpolyak\LOKALE~1\Temp\customProfileDire782589f459f4d9c8c0&lt;br /&gt;
 164e05c1f8cf6\parent.lock on session null&lt;br /&gt;
  &lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
configdef.php:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 class SeleniumConfig {	var $host = &#039;http://joomla&#039;;&lt;br /&gt;
	var $path = &#039;&#039;;#&#039;/j1513/&#039;;&lt;br /&gt;
	var $username = &#039;admin&#039;;&lt;br /&gt;
	var $password = &#039;admin&#039;;&lt;br /&gt;
	var $browser = &#039;*chrome&#039;;&lt;br /&gt;
	var $baseURI = &amp;quot;c:/xampp/htdocs/joomla/&amp;quot;;}&lt;br /&gt;
 &lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Can anybody help me please? &lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
This might help: [http://clearspace.openqa.org/thread/15596 http://clearspace.openqa.org/thread/15596] [[User:Dextercowley|Mark Dexter]]&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Running_Automated_Tests_for_the_Joomla_CMS&amp;diff=28994</id>
		<title>Talk:Running Automated Tests for the Joomla CMS</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Running_Automated_Tests_for_the_Joomla_CMS&amp;diff=28994"/>
		<updated>2010-06-30T06:57:07Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Re: Run the System Test Suite ==&lt;br /&gt;
I am trying to run the system test suite in the normal SVN configuration with the installation folder still present.  TestSuite calls doInstall which reruns the Joomla install and then reinstalls the sample data.  This, by the way, failed due to a bug (http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&amp;amp;tracker_item_id=21250).&lt;br /&gt;
&lt;br /&gt;
When I rename (or delete) the installation folder, TestSuite runs OK.&lt;br /&gt;
&lt;br /&gt;
The first tip says&lt;br /&gt;
* Make sure you run the tests on a clean database that has been installed with sample data. If you have made database changes, you should re-install Joomla! or otherwise put the database back to it&#039;s original post-installed state.&lt;br /&gt;
This seems to indicate that we shouldn&#039;t have the installation folder, as it&#039;s presence will cause the sample data to be reinstalled anyway.&lt;br /&gt;
&lt;br /&gt;
Could someone please clarify this&lt;br /&gt;
&lt;br /&gt;
== Create a Selenium Configuration File ==&lt;br /&gt;
&lt;br /&gt;
Would var $baseURI of in be the same as public $live_site?&lt;br /&gt;
&lt;br /&gt;
It could be, but we don&#039;t have access to Joomla! variables when running the tests. We are running them from a browser, outside the Joomla! framework. [[User:Dextercowley|Mark Dexter]] 22:01, 6 February 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Run the Test Suite ==&lt;br /&gt;
Where is / how do we create phpunit.bat?&lt;br /&gt;
&lt;br /&gt;
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)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Failed to start new browser session, shutdown browser and == &lt;br /&gt;
clear all session data... Lock file still present! &lt;br /&gt;
&lt;br /&gt;
Hi All,&lt;br /&gt;
&lt;br /&gt;
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.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Start of Tests:&lt;br /&gt;
&lt;br /&gt;
 C:\Dokumente und Einstellungen\fpolyak&amp;gt;cd c:\xampp\htdocs\joomla\tests\system\&lt;br /&gt;
 C:\xampp\htdocs\joomla\tests\system&amp;gt;c:\xampp\php\phpunit.bat --bootstrap servers&lt;br /&gt;
 \configdef.php suite\TestSuite.php&lt;br /&gt;
 PHPUnit 3.4.10 by Sebastian Bergmann.&lt;br /&gt;
 Starting ControlPanelMenu.&lt;br /&gt;
 E^CBatchvorgang abbrechen (J/N)? j&lt;br /&gt;
 C:\xampp\htdocs\joomla\tests\system&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Selenium messages (with errors messages) : &lt;br /&gt;
&lt;br /&gt;
  C:\selenium\selenium-remote-control-1.0.1&amp;gt;c:\Programme\Java\jre1.6.0_07\bin\java&lt;br /&gt;
 .exe -jar selenium-server-1.0.1\selenium-server.jar -browserSessionReuse&lt;br /&gt;
 11:51:38.614 INFO - Java: Sun Microsystems Inc. 10.0-b23&lt;br /&gt;
 11:51:38.614 INFO - OS: Windows XP 5.1 x86&lt;br /&gt;
 11:51:38.614 INFO - v1.0.1 [2696], with Core v@VERSION@ [@REVISION@]&lt;br /&gt;
 11:51:38.614 INFO - Will recycle browser sessions when possible.&lt;br /&gt;
 11:51:38.755 INFO - Version Jetty/5.1.x&lt;br /&gt;
 11:51:38.755 INFO - Started HttpContext[/selenium-server/driver,/selenium-server&lt;br /&gt;
 /driver]&lt;br /&gt;
 11:51:38.755 INFO - Started HttpContext[/selenium-server,/selenium-server]&lt;br /&gt;
 11:51:38.755 INFO - Started HttpContext[/,/]&lt;br /&gt;
 11:51:38.771 INFO - Started SocketListener on 0.0.0.0:4444&lt;br /&gt;
 11:51:38.771 INFO - Started org.mortbay.jetty.Server@1e0cf70&lt;br /&gt;
 11:54:55.060 INFO - Checking Resource aliases&lt;br /&gt;
 11:54:55.075 INFO - Command request: getNewBrowserSession[*chrome, http://joomla&lt;br /&gt;
 ] on session null&lt;br /&gt;
 11:54:55.075 INFO - grabbing available session...&lt;br /&gt;
 11:54:55.075 INFO - creating new remote session&lt;br /&gt;
 11:54:55.544 INFO - Allocated session df59775d37ca4e77bbdb4d0f7b97d63c for http:&lt;br /&gt;
 //joomla, launching...&lt;br /&gt;
 11:54:55.794 INFO - Preparing Firefox profile...&lt;br /&gt;
 11:55:19.052 ERROR - Failed to start new browser session, shutdown browser and c&lt;br /&gt;
 lear all session data&lt;br /&gt;
 java.lang.RuntimeException: Firefox refused shutdown while preparing a profile&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:311)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.pop&lt;br /&gt;
 ulateCustomProfileDirectory(FirefoxChromeLauncher.java:106)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nch(FirefoxChromeLauncher.java:83)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nchRemoteSession(FirefoxChromeLauncher.java:350)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSessi&lt;br /&gt;
 on(BrowserSessionFactory.java:357)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 ( BrowserSessionFactory.java:122)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 (BrowserSessionFactory.java:84)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowse&lt;br /&gt;
 rSession(SeleniumDriverResourceHandler.java:699)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Se&lt;br /&gt;
 leniumDriverResourceHandler.java:393)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleComman&lt;br /&gt;
 dRequest(SeleniumDriverResourceHandler.java:364)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Selen&lt;br /&gt;
 iumDriverResourceHandler.java:125)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)&lt;br /&gt;
         at org.mortbay.http.HttpServer.service(HttpServer.java:909)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)&lt;br /&gt;
         at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:&lt;br /&gt;
 245)&lt;br /&gt;
         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)&lt;br /&gt;
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)&lt;br /&gt;
 Caused by: org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher$Fil&lt;br /&gt;
 eLockRemainedException: Lock file still present! C:\DOKUME~1\fpolyak\LOKALE~1\Te&lt;br /&gt;
 mp\customProfileDirdf59775d37ca4e77bbdb4d0f7b97d63c\parent.lock&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFileLockToGoAway(FirefoxChromeLauncher.java:269)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:309)&lt;br /&gt;
         ... 19 more&lt;br /&gt;
 11:55:31.806 INFO - Got result: Failed to start new browser session: Unable to d&lt;br /&gt;
 elete file C:\DOKUME~1\fpolyak\LOKALE~1\Temp\customProfileDirdf59775d37ca4e77bbd&lt;br /&gt;
 b4d0f7b97d63c\parent.lock on session null&lt;br /&gt;
 11:55:31.884 INFO - Command request: getNewBrowserSession[*chrome, http://joomla&lt;br /&gt;
 ] on session null&lt;br /&gt;
 11:55:31.884 INFO - grabbing available session...&lt;br /&gt;
 11:55:31.884 INFO - creating new remote session&lt;br /&gt;
 11:55:31.884 INFO - Allocated session e782589f459f4d9c8c0164e05c1f8cf6 for http:&lt;br /&gt;
 //joomla, launching...&lt;br /&gt;
 11:55:32.040 INFO - Preparing Firefox profile...&lt;br /&gt;
 11:55:53.719 ERROR - Failed to start new browser session, shutdown browser and c&lt;br /&gt;
 lear all session data&lt;br /&gt;
 java.lang.RuntimeException: Firefox refused shutdown while preparing a profile&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:311)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.pop&lt;br /&gt;
 ulateCustomProfileDirectory(FirefoxChromeLauncher.java:106)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nch(FirefoxChromeLauncher.java:83)&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau&lt;br /&gt;
 nchRemoteSession(FirefoxChromeLauncher.java:350)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSessi&lt;br /&gt;
 on(BrowserSessionFactory.java:357)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 (BrowserSessionFactory.java:122)&lt;br /&gt;
         at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession&lt;br /&gt;
 (BrowserSessionFactory.java:84)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowse&lt;br /&gt;
 rSession(SeleniumDriverResourceHandler.java:699)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Se&lt;br /&gt;
 leniumDriverResourceHandler.java:393)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleComman&lt;br /&gt;
 dRequest(SeleniumDriverResourceHandler.java:364)&lt;br /&gt;
         at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Selen&lt;br /&gt;
 iumDriverResourceHandler.java:125)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)&lt;br /&gt;
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)&lt;br /&gt;
         at org.mortbay.http.HttpServer.service(HttpServer.java:909)&lt;br /&gt;
         at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)&lt;br /&gt;
          at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)&lt;br /&gt;
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837) &lt;br /&gt;
        at org.mortbay.http.SocketListener.handleConnection(SocketListener .java:&lt;br /&gt;
 245) &lt;br /&gt;
         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)&lt;br /&gt;
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)&lt;br /&gt;
 Caused by: org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher$Fil&lt;br /&gt;
 eLockRemainedException: Lock file still present! C:\DOKUME~1\fpolyak\LOKALE~1\Te&lt;br /&gt;
 mp\customProfileDire782589f459f4d9c8c0164e05c1f8cf6\parent.lock&lt;br /&gt;
         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFileLockToGoAway(FirefoxChromeLauncher.java:269)&lt;br /&gt;
        at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai&lt;br /&gt;
 tForFullProfileToBeCreated(FirefoxChromeLauncher.java:309)&lt;br /&gt;
        ... 19 more&lt;br /&gt;
 11:56:06.379 INFO - Got result: Failed to start new browser session: Unable to d&lt;br /&gt;
 elete file C:\DOKUME~1\fpolyak\LOKALE~1\Temp\customProfileDire782589f459f4d9c8c0&lt;br /&gt;
 164e05c1f8cf6\parent.lock on session null&lt;br /&gt;
  &lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
configdef.php:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 class SeleniumConfig {	var $host = &#039;http://joomla&#039;;&lt;br /&gt;
	var $path = &#039;&#039;;#&#039;/j1513/&#039;;&lt;br /&gt;
	var $username = &#039;admin&#039;;&lt;br /&gt;
	var $password = &#039;admin&#039;;&lt;br /&gt;
	var $browser = &#039;*chrome&#039;;&lt;br /&gt;
	var $baseURI = &amp;quot;c:/xampp/htdocs/joomla/&amp;quot;;}&lt;br /&gt;
 &lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
Can anybody help me please? &lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
This might help: [http://clearspace.openqa.org/thread/15596 http://clearspace.openqa.org/thread/15596] [[User:Dextercowley|Mark Dexter]]&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Running_Automated_Tests_for_the_Joomla_CMS&amp;diff=28993</id>
		<title>Running Automated Tests for the Joomla CMS</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Running_Automated_Tests_for_the_Joomla_CMS&amp;diff=28993"/>
		<updated>2010-06-30T04:15:04Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* Install Selenium RC */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{RightTOC}}&lt;br /&gt;
== Introduction ==&lt;br /&gt;
As of February 2010, a tests folder has been added to the Joomla! SVN download. This folder contains a growing library of unit and system (or functional) tests. The unit tests use PHPUnit and the system tests use PHPUnit and Selenium. The unit tests perform tests primarily on the Joomla! framework. The Selenium system tests actually run Joomla! from a browser and test it as a user would.&lt;br /&gt;
&lt;br /&gt;
Before you can run the tests, you need to install some programs on your local workstation, as documented below. This document explains how to run the these tests from your local workstation.&lt;br /&gt;
&lt;br /&gt;
== Install PHPUnit ==&lt;br /&gt;
Both the unit and functional tests rely on PHPUnit. PHPUnit is a testing framework that requires PHP to be installed on the local workstation. XAMP / WAMP users can use the PHP installation that comes with them. Otherwise, you may need to install PHP, and the PEAR package, on your local workstation. More detailed instructions can be found at [http://www.php.net/manual/en/install.php http://www.php.net/manual/en/install.php].&lt;br /&gt;
&lt;br /&gt;
On most PHP installations, PNPUnit can be installed using the standard PEAR installation process.&lt;br /&gt;
&lt;br /&gt;
For example, on XAMPP version 1.7.3 on Windows, you would do the following commands:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd c:\xampp\php&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;pear channel-discover pear.phpunit.de&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;pear channel-discover pear.symfony-project.com&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;pear install phpunit/PHPUnit&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you get error about PEAR version too low, run:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;pear upgrade pear&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and repeat &amp;lt;code&amp;gt;pear install phpunit/PHPUnit&amp;lt;/code&amp;gt;&lt;br /&gt;
.&lt;br /&gt;
Windows users not using WAMP or XAMPP can use the same procedure, with substituting the location of your PHP installation for &amp;lt;code&amp;gt;cd c:\xampp\php&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In Ubuntu Linux, use the following commands to install PHPUnit:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;$sudo pear channel-discover pear.phpunit.de&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;$sudo pear channel-discover pear.symfony-project.com&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;$sudo pear install phpunit/PHPUnit&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More detailed instructions can be found here: [http://www.phpunit.de/manual/3.0/en/installation.html http://www.phpunit.de/manual/3.0/en/installation.html].&lt;br /&gt;
&lt;br /&gt;
== Running Unit Tests ==&lt;br /&gt;
Once PHPUnit is installed, you can run the unit tests. To run a unit test from the command line:&lt;br /&gt;
# Change to the folder &amp;lt;code&amp;gt;&amp;lt;joomla root&amp;gt;/tests/unit&amp;lt;/code&amp;gt;&lt;br /&gt;
# Execute the command &amp;lt;code&amp;gt;phpunit &amp;lt;test name or folder&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
For example, to execute the test called &amp;quot;suite\libraries\joomla\utilities\JStringTest.php&amp;quot;, you would type the command&lt;br /&gt;
* &amp;lt;code&amp;gt;phpunit suite\libraries\joomla\utilities\JStringTest.php&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you run this, you will see output similar to the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
C:\xampp\htdocs\joomla_development\j16_trunk\tests\unit&amp;gt;phpunit suite\libraries\&lt;br /&gt;
joomla\utilities\jstringtest.php&lt;br /&gt;
PHPUnit 3.4.11 by Sebastian Bergmann.&lt;br /&gt;
&lt;br /&gt;
............................................................ 60 / 89&lt;br /&gt;
.............................&lt;br /&gt;
&lt;br /&gt;
Time: 26 seconds, Memory: 7.00Mb&lt;br /&gt;
&lt;br /&gt;
OK (89 tests, 89 assertions)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The dots indicate a successful test. If you have errors or failures, they will show as &amp;quot;E&amp;quot; or &amp;quot;F&amp;quot; letters and a detailed message for each will show.&lt;br /&gt;
&lt;br /&gt;
You can execute all of the tests in a folder by specifying a folder instead of a file. For example, to run all of the tests in the folder &amp;quot;suite\libraries\joomla\utilities&amp;quot;, you would enter&lt;br /&gt;
* &amp;lt;code&amp;gt;phpunit suite\libraries\joomla\utilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This command will produce output similar to that shown below:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
C:\xampp\htdocs\joomla_development\j16_trunk\tests\unit&amp;gt;phpunit suite\libraries\&lt;br /&gt;
joomla\utilities&lt;br /&gt;
PHPUnit 3.4.11 by Sebastian Bergmann.&lt;br /&gt;
&lt;br /&gt;
............................................................  60 / 317&lt;br /&gt;
............................................................ 120 / 317&lt;br /&gt;
............................................................ 180 / 317&lt;br /&gt;
............................................................ 240 / 317&lt;br /&gt;
............................................................ 300 / 317&lt;br /&gt;
...FFFF..........&lt;br /&gt;
&lt;br /&gt;
Time: 27 seconds, Memory: 11.00Mb&lt;br /&gt;
&lt;br /&gt;
There were 4 failures:&lt;br /&gt;
&lt;br /&gt;
1) JUtilityTest::testGetHash&lt;br /&gt;
Failed asserting that two strings are equal.&lt;br /&gt;
--- Expected&lt;br /&gt;
+++ Actual&lt;br /&gt;
@@ @@&lt;br /&gt;
-ce114e4501d2f4e2dcea3e17b546f339&lt;br /&gt;
+0cbc6611f5540bd0809a388dc95a615b&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2) JUtilityTest::testGetToken with data set &amp;quot;default&amp;quot; (NULL, false)&lt;br /&gt;
Failed asserting that &amp;lt;string:adca734617ce829cc979492d6d037416&amp;gt; matches expected&lt;br /&gt;
 &amp;lt;boolean:false&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3) JUtilityTest::testGetToken with data set &amp;quot;false&amp;quot; (false, false)&lt;br /&gt;
Failed asserting that &amp;lt;string:adca734617ce829cc979492d6d037416&amp;gt; matches expected&lt;br /&gt;
 &amp;lt;boolean:false&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4) JUtilityTest::testGetToken with data set &amp;quot;true&amp;quot; (true, true)&lt;br /&gt;
Expectation failed for method name is equal to &amp;lt;string:getFormToken&amp;gt; when invoke&lt;br /&gt;
d 1 time(s).&lt;br /&gt;
Method was expected to be called 1 times, actually called 0 times.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
FAILURES!&lt;br /&gt;
Tests: 317, Assertions: 361, Failures: 4.&amp;lt;/pre&amp;gt;&lt;br /&gt;
In this case, we have 4 test failures with details about each.&lt;br /&gt;
&lt;br /&gt;
== System Tests ==&lt;br /&gt;
Before you can run the system tests, you need to install and set up the Selenium RC package and configure your test environment, as shown below.&lt;br /&gt;
&lt;br /&gt;
=== Install Selenium RC ===&lt;br /&gt;
Selenium RC is the package that allows you to run Selenium tests from PHP or other programming languages. To install it, just go to the Selenium site [http://seleniumhq.org/projects/remote-control http://seleniumhq.org/projects/remote-control] and download the package. Then unzip the file into a folder. &lt;br /&gt;
&lt;br /&gt;
For example, in Windows if you create a folder called &amp;lt;code&amp;gt;C:\selenium&amp;lt;/code&amp;gt; and unzip this file there, it will create a folder called selenium-server-1.0.1. In that folder, create a Windows bat file (such as selenium.bat though the name does not matter) or Linux shell script that runs the following command: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;java -jar selenium-server.jar -browserSessionReuse&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the Java executable is not on your path, then you will need to indicate the full path to it, like the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;quot;c:\program files (x86)\Java\jre6\bin\java.exe&amp;quot; -jar selenium-server.jar -browserSessionReuse&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Note the argument &amp;lt;code&amp;gt;browserSessionReuse&amp;lt;/code&amp;gt; is used to allow you to run multiple tests without closing and re-opening the browser each time. Save this file so you can easily find and execute it when needed.&lt;br /&gt;
&lt;br /&gt;
This program needs to be running in the background before you can run any Selenium functional tests.&lt;br /&gt;
&lt;br /&gt;
If You are using Firefox 3.6.x, be sure to install Selenium RC version 1.0.3 (released February 2010) or later. Earlier versions of Selenium RC have problems running in Firefox 3.6.x.&lt;br /&gt;
&lt;br /&gt;
=== Create a Selenium Configuration File ===&lt;br /&gt;
To run the Selenium tests, we have to tell Selenium how to navigate and login to your local Joomla! installation. This is done by creating a PHP file called &amp;lt;code&amp;gt;configdef.php&amp;lt;/code&amp;gt;. The Joomla! download includes a file called &amp;lt;code&amp;gt;tests/system/servers/config-def.php-dist&amp;lt;/code&amp;gt;. This is a sample file that you can use to create the real file. Copy this file to a file called &amp;lt;code&amp;gt;tests/system/servers/configdef.php&amp;lt;/code&amp;gt; and edit it to reflect your test systems configuration. There are comments in the file that tell you how to do this.&lt;br /&gt;
&lt;br /&gt;
=== Run the System Test Suite ===&lt;br /&gt;
At this point, we are ready to actually run the tests. There are two steps to running a test. First, you need to make sure the Selenium RC process is running in the background. To do this, just execute the command (bat file or shell script) you created when you installed Selenium RC. This will continue to run until you cancel it.&lt;br /&gt;
&lt;br /&gt;
Once Selenium RC is running, you need to execute the functional tests. There are several ways you can do this. &lt;br /&gt;
&lt;br /&gt;
To run all tests from the command line in Windows, change to the &amp;lt;code&amp;gt;tests/system&amp;lt;/code&amp;gt; folder and run the following command (the phpunit.bat file comes from the PHPUnit installation):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;phpunit.bat --bootstrap servers\configdef.php suite\TestSuite.php &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Linux, the command is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;phpunit --bootstrap servers/configdef.php suite/TestSuite.php &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will run all of the tests in the TestSuite.php file. You should see a series of messages display in the console telling you what tests are being run and what the tests are doing. You should also see two browser windows open. One will display Selenium commands that are being executed. The other will show the Joomla! website and the various screens that are being opened and closed as the tests are run. &lt;br /&gt;
&lt;br /&gt;
The tests will run for a few minutes, depending on the speed of your system. When they are done, you will get a summary display showing how many tests were run and whether there were errors or failures. If there are errors or failures, the line of code from the test program that generated the error or failure will also show.&lt;br /&gt;
&lt;br /&gt;
An error occurs when the test encounters an actual PHP error. A failure occurs when the test gets a result that is different than expected.&lt;br /&gt;
&lt;br /&gt;
== Tips ==&lt;br /&gt;
* Make sure you run the tests on a clean database that has been installed with sample data. If you have made database changes, you should re-install Joomla! or otherwise put the database back to it&#039;s original post-installed state.&lt;br /&gt;
* If you find errors or failures when you run the tests, you can run the tests against the Joomla! trunk to see if the problems are in trunk or just in your branch.&lt;br /&gt;
* If you maintain more than one local Joomla! project (for example, one for trunk, another for a branch), you will need to make sure to have a configdef.php file for each that has the right path and login information. You can watch the browser window while the tests are running to make sure you are testing the URL that you expect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Eclipse Users ==&lt;br /&gt;
In Eclipse, you can set up Debug and External Tools launch configurations that make it easy to debug or run unit and system tests.&lt;br /&gt;
&lt;br /&gt;
=== Run a Unit Test ===&lt;br /&gt;
You can create an External Tools launch configuration that lets you run any unit test simply by pointing to the test file and pressing the Run button. Here are the steps:&lt;br /&gt;
* Open the Run&amp;amp;rarr;External Tools&amp;amp;rarr;External Tools Configuration menu and press the button labeled &amp;quot;New Launch Configuration&amp;quot;.&lt;br /&gt;
* Enter a descriptive name, such as &amp;quot;Run Selected Unit Test&amp;quot;.&lt;br /&gt;
* Enter the location that points to your phpunit.bat file (for example, &amp;lt;code&amp;gt;c:\xampp\php\phpunit.bat&amp;lt;/code&amp;gt;).&lt;br /&gt;
* Set the Working Directory to &amp;lt;code&amp;gt;${project_loc}\tests\unit&amp;lt;/code&amp;gt;&lt;br /&gt;
* Set the arguments to &amp;lt;code&amp;gt;c:\xampp\php\phpunit --verbose &amp;quot;${resource_loc}&amp;quot;&amp;lt;/code&amp;gt;.&lt;br /&gt;
This is shown in the screenshot below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100405-01.png]]&lt;br /&gt;
&lt;br /&gt;
To run a unit test:&lt;br /&gt;
# Select a unit test, either by selecting it in the PHP Explorer view or in the edit area of Eclipse.&lt;br /&gt;
# Run the External Launch configuration by selecting it from the drop-down list next to the External Launch Configuration button in the toolbar (shown below).&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-01.png]]&lt;br /&gt;
&lt;br /&gt;
Note that a test might normally take a 30-60 seconds to run. The output of the test will show in the Eclipse console.&lt;br /&gt;
&lt;br /&gt;
==== Run All Tests in a Folder ====&lt;br /&gt;
You can run all of the unit tests in a folder using this same launch configuration. Just select a folder instead of a test file and all of the unit tests in that folder will run.&lt;br /&gt;
&lt;br /&gt;
=== Setting Up For Debugging ===&lt;br /&gt;
&lt;br /&gt;
==== Make Sure XDebug is Installed ====&lt;br /&gt;
As you would expect, XDebug must be installed and configured for use with Eclipse. See [[Setting_up_your_workstation_for_Joomla!_development#Edit_PHP.INI_File]] for detailed instructions.&lt;br /&gt;
&lt;br /&gt;
==== Add PEAR Library to Workspace ====&lt;br /&gt;
Before you can debug a unit or system test, you have to add the PEAR library to your project or workspace. In this example, we will add PEAR to our workspace. That way, all projects will automatically have access to PHPUnit.&lt;br /&gt;
&lt;br /&gt;
Here are the steps:&lt;br /&gt;
&lt;br /&gt;
* Select Window&amp;amp;rarr;Preferences&amp;amp;rarr;PHP&amp;amp;rarr;PHP Libraries.&lt;br /&gt;
* Press the New button and add PEAR as shown below. Be sure to press the checkbox labeled &amp;quot;Add to environment&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-01a.png]]&lt;br /&gt;
&lt;br /&gt;
* Press OK, then press the Add External folder button and browse to your PEAR folder, as shown below. In this example, the folder is in &amp;lt;code&amp;gt;c:\xampp\php\PEAR&amp;lt;/code&amp;gt;.&lt;br /&gt;
 &lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-01b.png]]&lt;br /&gt;
&lt;br /&gt;
* Press OK and the screen should show the external folder, as shown below, with the correct file path for your workstation.&lt;br /&gt;
 &lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-01c.png]]&lt;br /&gt;
&lt;br /&gt;
After this is completed go to project preferences - &amp;gt; Properties -&amp;gt; PHP Include path -&amp;gt; Libraries tab -&amp;gt; Add library. Select User library in popup, click Next and mark Pear[enviroment] as checked.&lt;br /&gt;
&lt;br /&gt;
Also make sure your project folder is added in Source tab of your project&#039;s PHP Include path.&lt;br /&gt;
&lt;br /&gt;
==== Configure the PHP Executable ====&lt;br /&gt;
Normally, you will want to debug unit and system tests as PHP scripts (as opposed to web pages). Before you can do this, you need to configure a PHP Executable in Eclipse. This is done as follows:&lt;br /&gt;
* Select Window&amp;amp;rarr;Preferences&amp;amp;rarr;PHP&amp;amp;rarr;PHP Executables. The screen below will show.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-05.png]]&lt;br /&gt;
&lt;br /&gt;
* Press Add and complete the screen as shown below, substituting the correct file paths for your workstation.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-06.png]]&lt;br /&gt;
&lt;br /&gt;
At this point, your workstation is set up for PHPUnit debugging. Now you just have to create the debug configurations as shown in the next section.&lt;br /&gt;
&lt;br /&gt;
=== Debug a Single Unit Test ===&lt;br /&gt;
Once you have PEAR added to your libraries, it is easy to set up a debug configuration that allows you to debug any unit test. Here are the steps:&lt;br /&gt;
* Press the drop-down arrow next to the Debug button and select Debug Configurations from the menu, as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-02.png]]&lt;br /&gt;
&lt;br /&gt;
* In the Debug Configurations window, make sure that PHP Script is selected and press the New Launch configuration button as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-17.png]]&lt;br /&gt;
&lt;br /&gt;
* Fill out the PHP Script tab of the Debug Configurations as shown below.&lt;br /&gt;
** Name: a descriptive name like &amp;quot;Debug Selected Unit Test&amp;quot;&lt;br /&gt;
** PHP Debugger: XDebug&lt;br /&gt;
** PHP Executable: The one you set up earlier (there will only be one)&lt;br /&gt;
** PHP File: Use the Browse button to browse to the phpunit.php file in your &amp;lt;code&amp;gt;tests/system&amp;lt;/code&amp;gt; folder.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-10.png]]&lt;br /&gt;
&lt;br /&gt;
* Select the PHP Script Arguments tab and enter --verbose ${selected_resource_loc} as shown below.&lt;br /&gt;
** The &amp;quot;--verbose&amp;quot; option allows you to see more details when the tests are run.&lt;br /&gt;
** The &amp;quot;${selected_resource_loc}&amp;quot; passes the currently selected file at runtime, so you can use this configuration just by selecting the desired file and then running it.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-11.png]]&lt;br /&gt;
&lt;br /&gt;
* Finally, select the Common tab and check the Debug checkbox under &amp;quot;Display in favorites menu&amp;quot;, as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-09a.png]]&lt;br /&gt;
&lt;br /&gt;
At this point, you are ready to debug any unit test. All you need to do is:&lt;br /&gt;
# Select the desired test file either in the PHP Explorer view or in the editor.&lt;br /&gt;
# Select Debug Configurations from the Debug drop-down button and select the &amp;quot;Debug Selected Unit Test&amp;quot; option. Once you have run this once, it will show on your Debug favorites menu.&lt;br /&gt;
&lt;br /&gt;
=== Run a Single System Test ===&lt;br /&gt;
You can create a configuration to make it easy to run any single test in your project. To do this:&lt;br /&gt;
* Open the Run&amp;amp;rarr;External Tools&amp;amp;rarr;External Tools Configuration menu and press the button labeled &amp;quot;New Launch Configuration&amp;quot;&lt;br /&gt;
* Enter the location that points to your phpunit.bat file (for example, &amp;lt;code&amp;gt;c:\xampp\php\phpunit.bat&amp;lt;/code&amp;gt;). On Linux systems, this might be called &amp;quot;phpunit&amp;quot;.&lt;br /&gt;
* Set the Working Directory to &amp;lt;code&amp;gt;${project_loc}/tests/system&amp;lt;/code&amp;gt;&lt;br /&gt;
* Set the arguments to &amp;lt;code&amp;gt;--bootstrap servers/configdef.php ${selected_resource_loc}&amp;lt;/code&amp;gt;.&lt;br /&gt;
This is shown in the screenshot below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-14.png]]&lt;br /&gt;
&lt;br /&gt;
To use this configuration,&lt;br /&gt;
# Make sure the Selenium RC process is running (for example, by running the &amp;quot;selenium.bat&amp;quot; file you created when you installed Selenium RC earlier)&lt;br /&gt;
# Select the desired test file by clicking on it in the PHP Explorer view or in the edit area&lt;br /&gt;
# Start this launch configuration&lt;br /&gt;
The selected test file will be run and you will see the browser session open and run the test script. The test results will be reported in the Eclipse console.&lt;br /&gt;
&lt;br /&gt;
=== Debug a Single System Test ===&lt;br /&gt;
The steps for creating a Debug Configuration for a Selenium system test are similar to those for the unit test.&lt;br /&gt;
* Open Debug Configurations from the drop-down menu next to the Debug Button on the toolbar, as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-02.png]]&lt;br /&gt;
&lt;br /&gt;
* In the Debug Configurations window, make sure that PHP Script is selected and press the New Launch configuration button as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-17.png]]&lt;br /&gt;
&lt;br /&gt;
* Fill out the Debug Configurations dialog box as shown below:&lt;br /&gt;
** Name: A descriptive name for the configuration, like &amp;quot;Debug Selected System Test&amp;quot;.&lt;br /&gt;
** PHP Debugger: XDebug&lt;br /&gt;
** PHP Executable: The one you defined earlier (there probably is only one).&lt;br /&gt;
** PHP File: Browse to the phpunit.php file in your &amp;lt;code&amp;gt;tests/system&amp;lt;/code&amp;gt; folder.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-12.png]]&lt;br /&gt;
&lt;br /&gt;
* Select the PHP Script arguments and fill this out as shown below.&lt;br /&gt;
** --bootstrap servers/configdef.php points to the configuration file that passes the login information to Selenium.&lt;br /&gt;
** &amp;quot;${selected_resource_loc}&amp;quot; passes the location of the currently selected file in Eclipse to the command line.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-13.png]]&lt;br /&gt;
&lt;br /&gt;
* Finally, select the Common tab and check the Debug option in the Display in favorites menu. This will add this configuration to your favorites.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-09a.png]]&lt;br /&gt;
&lt;br /&gt;
At this point, you can debug any system test. To do so:&lt;br /&gt;
# Make sure the Selenium RC program is running in the background.&lt;br /&gt;
# Select the desired test by selecting it in the PHP Explorer or in the editor.&lt;br /&gt;
# Run this Debug Configuration by selecting the drop-down arrow next to the Debug button, then Debug Configurations, then the &amp;quot;Debug Selected System Test&amp;quot; configuration created above.&lt;br /&gt;
&lt;br /&gt;
=== Run the System Test Suite ===&lt;br /&gt;
To create a launch configuration to run the Test Suite of the currently-selected Eclipse project:&lt;br /&gt;
* Enter the location that points to your phpunit.bat file. If you are running Linux, this file might be called phpunit.&lt;br /&gt;
* Set the Working Directory to &amp;lt;code&amp;gt;${project_loc}/tests\system&amp;lt;/code&amp;gt;&lt;br /&gt;
* Set the arguments to &amp;lt;code&amp;gt;--bootstrap servers/configdef.php suite/TestSuite.php&amp;lt;/code&amp;gt;.&lt;br /&gt;
This is shown in the screenshot below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-15.png]]&lt;br /&gt;
&lt;br /&gt;
The console output will show in the Eclipse console. Note that you still need to have the Selenium RC program running in the background first, before running the suite. Note that you need to select a file in the current project before running this command so the &amp;lt;code&amp;gt;{project_loc}&amp;lt;/code&amp;gt; variable is set correctly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Bug Squad]] [[Category:Development]] [[Category:Testing]] [[Category:Automated Testing]] [[Category:Joomla! 1.6]]&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Running_Automated_Tests_for_the_Joomla_CMS&amp;diff=28992</id>
		<title>Running Automated Tests for the Joomla CMS</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Running_Automated_Tests_for_the_Joomla_CMS&amp;diff=28992"/>
		<updated>2010-06-30T03:48:55Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* Running Unit Tests */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{RightTOC}}&lt;br /&gt;
== Introduction ==&lt;br /&gt;
As of February 2010, a tests folder has been added to the Joomla! SVN download. This folder contains a growing library of unit and system (or functional) tests. The unit tests use PHPUnit and the system tests use PHPUnit and Selenium. The unit tests perform tests primarily on the Joomla! framework. The Selenium system tests actually run Joomla! from a browser and test it as a user would.&lt;br /&gt;
&lt;br /&gt;
Before you can run the tests, you need to install some programs on your local workstation, as documented below. This document explains how to run the these tests from your local workstation.&lt;br /&gt;
&lt;br /&gt;
== Install PHPUnit ==&lt;br /&gt;
Both the unit and functional tests rely on PHPUnit. PHPUnit is a testing framework that requires PHP to be installed on the local workstation. XAMP / WAMP users can use the PHP installation that comes with them. Otherwise, you may need to install PHP, and the PEAR package, on your local workstation. More detailed instructions can be found at [http://www.php.net/manual/en/install.php http://www.php.net/manual/en/install.php].&lt;br /&gt;
&lt;br /&gt;
On most PHP installations, PNPUnit can be installed using the standard PEAR installation process.&lt;br /&gt;
&lt;br /&gt;
For example, on XAMPP version 1.7.3 on Windows, you would do the following commands:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd c:\xampp\php&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;pear channel-discover pear.phpunit.de&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;pear channel-discover pear.symfony-project.com&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;pear install phpunit/PHPUnit&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you get error about PEAR version too low, run:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;pear upgrade pear&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and repeat &amp;lt;code&amp;gt;pear install phpunit/PHPUnit&amp;lt;/code&amp;gt;&lt;br /&gt;
.&lt;br /&gt;
Windows users not using WAMP or XAMPP can use the same procedure, with substituting the location of your PHP installation for &amp;lt;code&amp;gt;cd c:\xampp\php&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In Ubuntu Linux, use the following commands to install PHPUnit:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;$sudo pear channel-discover pear.phpunit.de&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;$sudo pear channel-discover pear.symfony-project.com&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;$sudo pear install phpunit/PHPUnit&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More detailed instructions can be found here: [http://www.phpunit.de/manual/3.0/en/installation.html http://www.phpunit.de/manual/3.0/en/installation.html].&lt;br /&gt;
&lt;br /&gt;
== Running Unit Tests ==&lt;br /&gt;
Once PHPUnit is installed, you can run the unit tests. To run a unit test from the command line:&lt;br /&gt;
# Change to the folder &amp;lt;code&amp;gt;&amp;lt;joomla root&amp;gt;/tests/unit&amp;lt;/code&amp;gt;&lt;br /&gt;
# Execute the command &amp;lt;code&amp;gt;phpunit &amp;lt;test name or folder&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
For example, to execute the test called &amp;quot;suite\libraries\joomla\utilities\JStringTest.php&amp;quot;, you would type the command&lt;br /&gt;
* &amp;lt;code&amp;gt;phpunit suite\libraries\joomla\utilities\JStringTest.php&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you run this, you will see output similar to the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
C:\xampp\htdocs\joomla_development\j16_trunk\tests\unit&amp;gt;phpunit suite\libraries\&lt;br /&gt;
joomla\utilities\jstringtest.php&lt;br /&gt;
PHPUnit 3.4.11 by Sebastian Bergmann.&lt;br /&gt;
&lt;br /&gt;
............................................................ 60 / 89&lt;br /&gt;
.............................&lt;br /&gt;
&lt;br /&gt;
Time: 26 seconds, Memory: 7.00Mb&lt;br /&gt;
&lt;br /&gt;
OK (89 tests, 89 assertions)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The dots indicate a successful test. If you have errors or failures, they will show as &amp;quot;E&amp;quot; or &amp;quot;F&amp;quot; letters and a detailed message for each will show.&lt;br /&gt;
&lt;br /&gt;
You can execute all of the tests in a folder by specifying a folder instead of a file. For example, to run all of the tests in the folder &amp;quot;suite\libraries\joomla\utilities&amp;quot;, you would enter&lt;br /&gt;
* &amp;lt;code&amp;gt;phpunit suite\libraries\joomla\utilities&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This command will produce output similar to that shown below:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
C:\xampp\htdocs\joomla_development\j16_trunk\tests\unit&amp;gt;phpunit suite\libraries\&lt;br /&gt;
joomla\utilities&lt;br /&gt;
PHPUnit 3.4.11 by Sebastian Bergmann.&lt;br /&gt;
&lt;br /&gt;
............................................................  60 / 317&lt;br /&gt;
............................................................ 120 / 317&lt;br /&gt;
............................................................ 180 / 317&lt;br /&gt;
............................................................ 240 / 317&lt;br /&gt;
............................................................ 300 / 317&lt;br /&gt;
...FFFF..........&lt;br /&gt;
&lt;br /&gt;
Time: 27 seconds, Memory: 11.00Mb&lt;br /&gt;
&lt;br /&gt;
There were 4 failures:&lt;br /&gt;
&lt;br /&gt;
1) JUtilityTest::testGetHash&lt;br /&gt;
Failed asserting that two strings are equal.&lt;br /&gt;
--- Expected&lt;br /&gt;
+++ Actual&lt;br /&gt;
@@ @@&lt;br /&gt;
-ce114e4501d2f4e2dcea3e17b546f339&lt;br /&gt;
+0cbc6611f5540bd0809a388dc95a615b&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2) JUtilityTest::testGetToken with data set &amp;quot;default&amp;quot; (NULL, false)&lt;br /&gt;
Failed asserting that &amp;lt;string:adca734617ce829cc979492d6d037416&amp;gt; matches expected&lt;br /&gt;
 &amp;lt;boolean:false&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3) JUtilityTest::testGetToken with data set &amp;quot;false&amp;quot; (false, false)&lt;br /&gt;
Failed asserting that &amp;lt;string:adca734617ce829cc979492d6d037416&amp;gt; matches expected&lt;br /&gt;
 &amp;lt;boolean:false&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4) JUtilityTest::testGetToken with data set &amp;quot;true&amp;quot; (true, true)&lt;br /&gt;
Expectation failed for method name is equal to &amp;lt;string:getFormToken&amp;gt; when invoke&lt;br /&gt;
d 1 time(s).&lt;br /&gt;
Method was expected to be called 1 times, actually called 0 times.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
FAILURES!&lt;br /&gt;
Tests: 317, Assertions: 361, Failures: 4.&amp;lt;/pre&amp;gt;&lt;br /&gt;
In this case, we have 4 test failures with details about each.&lt;br /&gt;
&lt;br /&gt;
== System Tests ==&lt;br /&gt;
Before you can run the system tests, you need to install and set up the Selenium RC package and configure your test environment, as shown below.&lt;br /&gt;
&lt;br /&gt;
=== Install Selenium RC ===&lt;br /&gt;
Selenium RC is the package that allows you to run Selenium tests from PHP or other programming languages. To install it, just go to the Selenium site [http://seleniumhq.org/projects/remote-control http://seleniumhq.org/projects/remote-control] and download the package. Then unzip the file into a folder. &lt;br /&gt;
&lt;br /&gt;
For example, in Windows if you create a folder called &amp;lt;code&amp;gt;C:\selenium&amp;lt;/code&amp;gt; and unzip this file there, it will create a folder called selenium-server-1.0.1. In that folder, create a Windows bat file (such as selenium.bat though the name does not matter) or Linux shell script that runs the following command: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;java -jar selenium-server.jar -browserSessionReuse&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the Java executable is not on your path, then you will need to indicate the full path to it, like the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;c:\program files (x86)\Java\jre6\bin\java.exe&amp;quot; -jar selenium-server.jar -browserSessionReuse&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Note the argument &amp;lt;code&amp;gt;browserSessionReuse&amp;lt;/code&amp;gt; is used to allow you to run multiple tests without closing and re-opening the browser each time. Save this file so you can easily find and execute it when needed.&lt;br /&gt;
&lt;br /&gt;
This program needs to be running in the background before you can run any Selenium functional tests.&lt;br /&gt;
&lt;br /&gt;
If You are using Firefox 3.6.x, be sure to install Selenium RC version 1.0.3 (released February 2010) or later. Earlier versions of Selenium RC have problems running in Firefox 3.6.x.&lt;br /&gt;
&lt;br /&gt;
=== Create a Selenium Configuration File ===&lt;br /&gt;
To run the Selenium tests, we have to tell Selenium how to navigate and login to your local Joomla! installation. This is done by creating a PHP file called &amp;lt;code&amp;gt;configdef.php&amp;lt;/code&amp;gt;. The Joomla! download includes a file called &amp;lt;code&amp;gt;tests/system/servers/config-def.php-dist&amp;lt;/code&amp;gt;. This is a sample file that you can use to create the real file. Copy this file to a file called &amp;lt;code&amp;gt;tests/system/servers/configdef.php&amp;lt;/code&amp;gt; and edit it to reflect your test systems configuration. There are comments in the file that tell you how to do this.&lt;br /&gt;
&lt;br /&gt;
=== Run the System Test Suite ===&lt;br /&gt;
At this point, we are ready to actually run the tests. There are two steps to running a test. First, you need to make sure the Selenium RC process is running in the background. To do this, just execute the command (bat file or shell script) you created when you installed Selenium RC. This will continue to run until you cancel it.&lt;br /&gt;
&lt;br /&gt;
Once Selenium RC is running, you need to execute the functional tests. There are several ways you can do this. &lt;br /&gt;
&lt;br /&gt;
To run all tests from the command line in Windows, change to the &amp;lt;code&amp;gt;tests/system&amp;lt;/code&amp;gt; folder and run the following command (the phpunit.bat file comes from the PHPUnit installation):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;phpunit.bat --bootstrap servers\configdef.php suite\TestSuite.php &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Linux, the command is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;phpunit --bootstrap servers/configdef.php suite/TestSuite.php &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will run all of the tests in the TestSuite.php file. You should see a series of messages display in the console telling you what tests are being run and what the tests are doing. You should also see two browser windows open. One will display Selenium commands that are being executed. The other will show the Joomla! website and the various screens that are being opened and closed as the tests are run. &lt;br /&gt;
&lt;br /&gt;
The tests will run for a few minutes, depending on the speed of your system. When they are done, you will get a summary display showing how many tests were run and whether there were errors or failures. If there are errors or failures, the line of code from the test program that generated the error or failure will also show.&lt;br /&gt;
&lt;br /&gt;
An error occurs when the test encounters an actual PHP error. A failure occurs when the test gets a result that is different than expected.&lt;br /&gt;
&lt;br /&gt;
== Tips ==&lt;br /&gt;
* Make sure you run the tests on a clean database that has been installed with sample data. If you have made database changes, you should re-install Joomla! or otherwise put the database back to it&#039;s original post-installed state.&lt;br /&gt;
* If you find errors or failures when you run the tests, you can run the tests against the Joomla! trunk to see if the problems are in trunk or just in your branch.&lt;br /&gt;
* If you maintain more than one local Joomla! project (for example, one for trunk, another for a branch), you will need to make sure to have a configdef.php file for each that has the right path and login information. You can watch the browser window while the tests are running to make sure you are testing the URL that you expect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Eclipse Users ==&lt;br /&gt;
In Eclipse, you can set up Debug and External Tools launch configurations that make it easy to debug or run unit and system tests.&lt;br /&gt;
&lt;br /&gt;
=== Run a Unit Test ===&lt;br /&gt;
You can create an External Tools launch configuration that lets you run any unit test simply by pointing to the test file and pressing the Run button. Here are the steps:&lt;br /&gt;
* Open the Run&amp;amp;rarr;External Tools&amp;amp;rarr;External Tools Configuration menu and press the button labeled &amp;quot;New Launch Configuration&amp;quot;.&lt;br /&gt;
* Enter a descriptive name, such as &amp;quot;Run Selected Unit Test&amp;quot;.&lt;br /&gt;
* Enter the location that points to your phpunit.bat file (for example, &amp;lt;code&amp;gt;c:\xampp\php\phpunit.bat&amp;lt;/code&amp;gt;).&lt;br /&gt;
* Set the Working Directory to &amp;lt;code&amp;gt;${project_loc}\tests\unit&amp;lt;/code&amp;gt;&lt;br /&gt;
* Set the arguments to &amp;lt;code&amp;gt;c:\xampp\php\phpunit --verbose &amp;quot;${resource_loc}&amp;quot;&amp;lt;/code&amp;gt;.&lt;br /&gt;
This is shown in the screenshot below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100405-01.png]]&lt;br /&gt;
&lt;br /&gt;
To run a unit test:&lt;br /&gt;
# Select a unit test, either by selecting it in the PHP Explorer view or in the edit area of Eclipse.&lt;br /&gt;
# Run the External Launch configuration by selecting it from the drop-down list next to the External Launch Configuration button in the toolbar (shown below).&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-01.png]]&lt;br /&gt;
&lt;br /&gt;
Note that a test might normally take a 30-60 seconds to run. The output of the test will show in the Eclipse console.&lt;br /&gt;
&lt;br /&gt;
==== Run All Tests in a Folder ====&lt;br /&gt;
You can run all of the unit tests in a folder using this same launch configuration. Just select a folder instead of a test file and all of the unit tests in that folder will run.&lt;br /&gt;
&lt;br /&gt;
=== Setting Up For Debugging ===&lt;br /&gt;
&lt;br /&gt;
==== Make Sure XDebug is Installed ====&lt;br /&gt;
As you would expect, XDebug must be installed and configured for use with Eclipse. See [[Setting_up_your_workstation_for_Joomla!_development#Edit_PHP.INI_File]] for detailed instructions.&lt;br /&gt;
&lt;br /&gt;
==== Add PEAR Library to Workspace ====&lt;br /&gt;
Before you can debug a unit or system test, you have to add the PEAR library to your project or workspace. In this example, we will add PEAR to our workspace. That way, all projects will automatically have access to PHPUnit.&lt;br /&gt;
&lt;br /&gt;
Here are the steps:&lt;br /&gt;
&lt;br /&gt;
* Select Window&amp;amp;rarr;Preferences&amp;amp;rarr;PHP&amp;amp;rarr;PHP Libraries.&lt;br /&gt;
* Press the New button and add PEAR as shown below. Be sure to press the checkbox labeled &amp;quot;Add to environment&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-01a.png]]&lt;br /&gt;
&lt;br /&gt;
* Press OK, then press the Add External folder button and browse to your PEAR folder, as shown below. In this example, the folder is in &amp;lt;code&amp;gt;c:\xampp\php\PEAR&amp;lt;/code&amp;gt;.&lt;br /&gt;
 &lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-01b.png]]&lt;br /&gt;
&lt;br /&gt;
* Press OK and the screen should show the external folder, as shown below, with the correct file path for your workstation.&lt;br /&gt;
 &lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-01c.png]]&lt;br /&gt;
&lt;br /&gt;
After this is completed go to project preferences - &amp;gt; Properties -&amp;gt; PHP Include path -&amp;gt; Libraries tab -&amp;gt; Add library. Select User library in popup, click Next and mark Pear[enviroment] as checked.&lt;br /&gt;
&lt;br /&gt;
Also make sure your project folder is added in Source tab of your project&#039;s PHP Include path.&lt;br /&gt;
&lt;br /&gt;
==== Configure the PHP Executable ====&lt;br /&gt;
Normally, you will want to debug unit and system tests as PHP scripts (as opposed to web pages). Before you can do this, you need to configure a PHP Executable in Eclipse. This is done as follows:&lt;br /&gt;
* Select Window&amp;amp;rarr;Preferences&amp;amp;rarr;PHP&amp;amp;rarr;PHP Executables. The screen below will show.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-05.png]]&lt;br /&gt;
&lt;br /&gt;
* Press Add and complete the screen as shown below, substituting the correct file paths for your workstation.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-06.png]]&lt;br /&gt;
&lt;br /&gt;
At this point, your workstation is set up for PHPUnit debugging. Now you just have to create the debug configurations as shown in the next section.&lt;br /&gt;
&lt;br /&gt;
=== Debug a Single Unit Test ===&lt;br /&gt;
Once you have PEAR added to your libraries, it is easy to set up a debug configuration that allows you to debug any unit test. Here are the steps:&lt;br /&gt;
* Press the drop-down arrow next to the Debug button and select Debug Configurations from the menu, as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-02.png]]&lt;br /&gt;
&lt;br /&gt;
* In the Debug Configurations window, make sure that PHP Script is selected and press the New Launch configuration button as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-17.png]]&lt;br /&gt;
&lt;br /&gt;
* Fill out the PHP Script tab of the Debug Configurations as shown below.&lt;br /&gt;
** Name: a descriptive name like &amp;quot;Debug Selected Unit Test&amp;quot;&lt;br /&gt;
** PHP Debugger: XDebug&lt;br /&gt;
** PHP Executable: The one you set up earlier (there will only be one)&lt;br /&gt;
** PHP File: Use the Browse button to browse to the phpunit.php file in your &amp;lt;code&amp;gt;tests/system&amp;lt;/code&amp;gt; folder.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-10.png]]&lt;br /&gt;
&lt;br /&gt;
* Select the PHP Script Arguments tab and enter --verbose ${selected_resource_loc} as shown below.&lt;br /&gt;
** The &amp;quot;--verbose&amp;quot; option allows you to see more details when the tests are run.&lt;br /&gt;
** The &amp;quot;${selected_resource_loc}&amp;quot; passes the currently selected file at runtime, so you can use this configuration just by selecting the desired file and then running it.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-11.png]]&lt;br /&gt;
&lt;br /&gt;
* Finally, select the Common tab and check the Debug checkbox under &amp;quot;Display in favorites menu&amp;quot;, as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-09a.png]]&lt;br /&gt;
&lt;br /&gt;
At this point, you are ready to debug any unit test. All you need to do is:&lt;br /&gt;
# Select the desired test file either in the PHP Explorer view or in the editor.&lt;br /&gt;
# Select Debug Configurations from the Debug drop-down button and select the &amp;quot;Debug Selected Unit Test&amp;quot; option. Once you have run this once, it will show on your Debug favorites menu.&lt;br /&gt;
&lt;br /&gt;
=== Run a Single System Test ===&lt;br /&gt;
You can create a configuration to make it easy to run any single test in your project. To do this:&lt;br /&gt;
* Open the Run&amp;amp;rarr;External Tools&amp;amp;rarr;External Tools Configuration menu and press the button labeled &amp;quot;New Launch Configuration&amp;quot;&lt;br /&gt;
* Enter the location that points to your phpunit.bat file (for example, &amp;lt;code&amp;gt;c:\xampp\php\phpunit.bat&amp;lt;/code&amp;gt;). On Linux systems, this might be called &amp;quot;phpunit&amp;quot;.&lt;br /&gt;
* Set the Working Directory to &amp;lt;code&amp;gt;${project_loc}/tests/system&amp;lt;/code&amp;gt;&lt;br /&gt;
* Set the arguments to &amp;lt;code&amp;gt;--bootstrap servers/configdef.php ${selected_resource_loc}&amp;lt;/code&amp;gt;.&lt;br /&gt;
This is shown in the screenshot below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-14.png]]&lt;br /&gt;
&lt;br /&gt;
To use this configuration,&lt;br /&gt;
# Make sure the Selenium RC process is running (for example, by running the &amp;quot;selenium.bat&amp;quot; file you created when you installed Selenium RC earlier)&lt;br /&gt;
# Select the desired test file by clicking on it in the PHP Explorer view or in the edit area&lt;br /&gt;
# Start this launch configuration&lt;br /&gt;
The selected test file will be run and you will see the browser session open and run the test script. The test results will be reported in the Eclipse console.&lt;br /&gt;
&lt;br /&gt;
=== Debug a Single System Test ===&lt;br /&gt;
The steps for creating a Debug Configuration for a Selenium system test are similar to those for the unit test.&lt;br /&gt;
* Open Debug Configurations from the drop-down menu next to the Debug Button on the toolbar, as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-02.png]]&lt;br /&gt;
&lt;br /&gt;
* In the Debug Configurations window, make sure that PHP Script is selected and press the New Launch configuration button as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-17.png]]&lt;br /&gt;
&lt;br /&gt;
* Fill out the Debug Configurations dialog box as shown below:&lt;br /&gt;
** Name: A descriptive name for the configuration, like &amp;quot;Debug Selected System Test&amp;quot;.&lt;br /&gt;
** PHP Debugger: XDebug&lt;br /&gt;
** PHP Executable: The one you defined earlier (there probably is only one).&lt;br /&gt;
** PHP File: Browse to the phpunit.php file in your &amp;lt;code&amp;gt;tests/system&amp;lt;/code&amp;gt; folder.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-12.png]]&lt;br /&gt;
&lt;br /&gt;
* Select the PHP Script arguments and fill this out as shown below.&lt;br /&gt;
** --bootstrap servers/configdef.php points to the configuration file that passes the login information to Selenium.&lt;br /&gt;
** &amp;quot;${selected_resource_loc}&amp;quot; passes the location of the currently selected file in Eclipse to the command line.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-13.png]]&lt;br /&gt;
&lt;br /&gt;
* Finally, select the Common tab and check the Debug option in the Display in favorites menu. This will add this configuration to your favorites.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-09a.png]]&lt;br /&gt;
&lt;br /&gt;
At this point, you can debug any system test. To do so:&lt;br /&gt;
# Make sure the Selenium RC program is running in the background.&lt;br /&gt;
# Select the desired test by selecting it in the PHP Explorer or in the editor.&lt;br /&gt;
# Run this Debug Configuration by selecting the drop-down arrow next to the Debug button, then Debug Configurations, then the &amp;quot;Debug Selected System Test&amp;quot; configuration created above.&lt;br /&gt;
&lt;br /&gt;
=== Run the System Test Suite ===&lt;br /&gt;
To create a launch configuration to run the Test Suite of the currently-selected Eclipse project:&lt;br /&gt;
* Enter the location that points to your phpunit.bat file. If you are running Linux, this file might be called phpunit.&lt;br /&gt;
* Set the Working Directory to &amp;lt;code&amp;gt;${project_loc}/tests\system&amp;lt;/code&amp;gt;&lt;br /&gt;
* Set the arguments to &amp;lt;code&amp;gt;--bootstrap servers/configdef.php suite/TestSuite.php&amp;lt;/code&amp;gt;.&lt;br /&gt;
This is shown in the screenshot below.&lt;br /&gt;
&lt;br /&gt;
[[Image:unit_test_tutorial_screenshot_20100406-15.png]]&lt;br /&gt;
&lt;br /&gt;
The console output will show in the Eclipse console. Note that you still need to have the Selenium RC program running in the background first, before running the suite. Note that you need to select a file in the current project before running this command so the &amp;lt;code&amp;gt;{project_loc}&amp;lt;/code&amp;gt; variable is set correctly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Bug Squad]] [[Category:Development]] [[Category:Testing]] [[Category:Automated Testing]] [[Category:Joomla! 1.6]]&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Setting_up_Apache,_PHP_and_MySQL_manually&amp;diff=28234</id>
		<title>Setting up Apache, PHP and MySQL manually</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Setting_up_Apache,_PHP_and_MySQL_manually&amp;diff=28234"/>
		<updated>2010-05-29T01:59:31Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* MySQL setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Here follows a brief overview of the steps to setup a Apache, PHP, MySQL in a Windows environment and also refer to various related tools to maintain and work with most of the tasks related to Joomla!.&lt;br /&gt;
&lt;br /&gt;
In order to make the instruction clear and succinct, we will assume that wherever we are not stating any explicit instruction, you will let the default setup paths apply without modification.&lt;br /&gt;
&lt;br /&gt;
===Warning===&lt;br /&gt;
If you already have any of the prepackaged AMP stacks installed on your machine:&lt;br /&gt;
* going back to your AMP stack afterwards will be difficult. This is since the various installations we will do below will overwrite registry values and general environment changes (this applies at least for the PC/Windows environment).&lt;br /&gt;
* if you need to maintain any configuration (Apache, MySQL or PHP configuration) or data (your existing websites and related databases), before making attempts of following through this instruction, make proper backup of those&lt;br /&gt;
(needs to be expanded with specific advice on how to achieve the aboves...)&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
* http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development resource on all things related to the topic of this document and more. Geared towards using prepackaged AMP stacks.&lt;br /&gt;
&lt;br /&gt;
==MySQL setup==&lt;br /&gt;
# Download the appropriate MySQL installer option for your platform (commonly x86, 32-bit) from http://www.mysql.com/downloads/mysql/ &lt;br /&gt;
# Start the installation and choose Custom installation path&lt;br /&gt;
# Click through the whole installation process and click Finish&lt;br /&gt;
# You will now be presented with the &amp;quot;MySQL Server Instance Configuration Wizard&amp;quot;&lt;br /&gt;
## Make sure that the &amp;quot;Standard Configuration&amp;quot; is selected and go to Next&lt;br /&gt;
## If you already have MySQL installed you may get the message &amp;quot;A Windows service with the name MySQL already exists. Please uninstall this service correctly or choose a different name for the new service.&amp;quot;  If so, choose an alternative service name. --[[User:PtrNrs|Pete Nurse]] 01:57, 29 May 2010 (UTC)&lt;br /&gt;
## In the next window Check for &amp;quot;Include Bin Directory in Windows PATH&amp;quot;. By doing this you will be able to access the various MySQL utilities from the command line. &lt;br /&gt;
## In the next window you will be able to create password for your root MySQL user, the user with highest access level on your server. &lt;br /&gt;
## In the next and final window all the changes you have configured until now will be saved when you press the Execute button, and the windows service for this instance will be started.&lt;br /&gt;
&lt;br /&gt;
===Notes===&lt;br /&gt;
# In order to make the instruction as accessible as possible we skipped a number of configuration scenarios of your MySQL instance, such as being able to relocate your database files etc. This and more is outlined in http://dev.mysql.com/doc/refman/5.1/en/mysql-config-wizard.html&lt;br /&gt;
# MySQL installs as default with a STRICT mode which might give rise to some errors when using extensions or applications that haven&#039;t considered this. Refer to this resource for more on this: http://dev.mysql.com/doc/refman/5.0/en/server-sql-mode.html&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
* HeidiSQL: http://www.heidisql.com/  easy to use and extensible full-client replacement of phpMyAdmin under constant development&lt;br /&gt;
* MySQL Workbench (version 5.2 and above): http://dev.mysql.com/downloads/workbench/ consists of various tools among which you will appreciate the Administrator, which helps you to configure your MySQL instance. Requires .Net framework http://www.microsoft.com/net/&lt;br /&gt;
* phpMyAdmin: http://www.phpmyadmin.net/ , powerful web based MySQL client for administrating anything related to MySQL&lt;br /&gt;
* MySQL documentation http://dev.mysql.com/doc/ available in different formats&lt;br /&gt;
&lt;br /&gt;
==Apache setup==&lt;br /&gt;
# Download the installer of your preference. Currently you should aim for version 2.2.*, Win32 Binary without crypto applies) from http://httpd.apache.org/download.cgi&lt;br /&gt;
# Run the installer wizard and click through each step until you reach the Server Information window and give the options below respectively and in the given order in each of the fields, unless you have any specific requirements as to how your web server is setup:&lt;br /&gt;
## localhost,&lt;br /&gt;
## localhost and &lt;br /&gt;
## admin@localhost&lt;br /&gt;
# Click through the wizard which will install and start the apache web server as a windows service.&lt;br /&gt;
# In the windows status bar you will now see a pink colored feather with a green colored play button indicating Apache is up and running. Point your browser to http://localhost/ and you should get a page indicating its working.&lt;br /&gt;
# Let us now go to the location where Apache is installed which commonly is at C:\Program Files\Apache Software Foundation\Apache2.2 and go through the various directories&lt;br /&gt;
## bin - contains the various binary files some of which are listed below. In order to access these applications, most of which are command based, we would need to add the path to the bin directory in our global PATH variable. To do that right click on My Computer &amp;gt; Properties &amp;gt; Advanced &amp;gt; Environments Variables and in the System Variables list locate and select the Variable PATH and click on Edit and add a trailing a semi-colon, if not already there, followed by the absolute path to your bin directory. And click out from the System Properties dialogue by accepting.&lt;br /&gt;
### httpd.exe which is the Apache webserver itself, which is spawned to several child processes while serving as many simultaneous incoming clients requests as required by MaxClients directive; &lt;br /&gt;
### ab.exe is a benchmarking tool that comes with Apache allowing you to see how well your application can perform per time unit&lt;br /&gt;
## conf - folder where various configuration files are located of which the following are of most interest in our case&lt;br /&gt;
### httpd.conf - most of the server directives are located in this file and for easy access you should associate the .conf file type with a user friendly editor, i.e. anything other than the default Notepad.&lt;br /&gt;
### extra\httpd-vhosts.conf - contains directives that would allow you use your local server as virtual host, i.e. able to run several servers on your PC. One usage scenario is that during a development phase if you want to map the actual domain you are working for to your local copy, you would be able to do so by making minor tweaks in this file. We will discuss this in more detail below.&lt;br /&gt;
## htdocs - the default web server root, this is where the http://localhost/ is mapped, i.e. if you don&#039;t reconfigure it in httpd.conf above.&lt;br /&gt;
## logs - access and error logs, when trying to address various issues related to your server or even your application&lt;br /&gt;
===Virtual hosting===&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
* http://httpd.apache.org/docs/2.2/ reference documentation&lt;br /&gt;
&lt;br /&gt;
==PHP setup==&lt;br /&gt;
# Download PHP from http://windows.php.net/download/ and choose commonly VC6 x86 Thread Safe in Zip format. The various options have to do with how the PHP code base was compiled to binary and is probably nothing you should worry about for now.&lt;br /&gt;
# Create a folder under your C:\Program Files\ (or wherever your program directory is located) a folder called PHP. &lt;br /&gt;
# Locate your downloaded Zip file and move it to the newly created folder and unpack it directly into the folder.&lt;br /&gt;
# Let us now add the PHP path to our global PATH variable by following the instruction above&lt;br /&gt;
&lt;br /&gt;
===Configuring PHP===&lt;br /&gt;
The configuration amounts to editing the php.ini file. A sample file for different scenarios are already in your PHP folder. Let us rename php.ini-development to php.ini and open it in your favorite text editor. The common values to tweak are as follows and all of these variables are well documented in the php.ini file (please note that this is a server wide setting applying to all your projects):&lt;br /&gt;
* max_execution_time - whenever you have scripts that run for too long and the server returns various unexpected results which you think is due to not being able to run through the whole process&lt;br /&gt;
* memory_limit&lt;br /&gt;
* error_reporting &lt;br /&gt;
* display_errors&lt;br /&gt;
* log_errors - a variable you would need to take note of in production scenarios&lt;br /&gt;
* upload_tmp_dir&lt;br /&gt;
* upload_max_filesize&lt;br /&gt;
* extension_dir - in order to avoid complications we will point out the directory where the following extensions are located by uncommenting this variable and assign the absolute location of the folder, and the complete line should read as follows&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
extension_dir = &amp;quot;C:\Program Files\PHP\ext&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Dynamic extensions section contains various additional modules that you want to be loaded with, and the commented once are those that comes prepackaged with PHP and can be found in the ext directory in your PHP folder. If you want to activate any just remove the commenting as you should do with the following extensions:&lt;br /&gt;
** php_curl.dll&lt;br /&gt;
** php_gd2.dll&lt;br /&gt;
** php_mbstring.dll&lt;br /&gt;
** php_mysql.dll&lt;br /&gt;
** php_mysqli.dll&lt;br /&gt;
** php_pdo.dll&lt;br /&gt;
** php_pdo_mysql.dll&lt;br /&gt;
** php_xsl.dll&lt;br /&gt;
* session.save_path&lt;br /&gt;
&lt;br /&gt;
===Configuring Apache to work with PHP===&lt;br /&gt;
Now that we have configured PHP to work as we want it, lets go to Apache and do the same. &lt;br /&gt;
* Open httpd.conf. and in the &amp;quot;Dynamic Shared Object (DSO) Support&amp;quot; section add the following directives (if you have located your PHP folder differently do make corresponding change for php5apache2_2.dll below): &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoadModule php5_module &amp;quot;C:/Program Files/PHP/php5apache2_2.dll&amp;quot; &lt;br /&gt;
AddType application/x-httpd-php .php&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
* In the DirectoryIndex add index.php and index.htm as possible files to serve when directory is requested as follows&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DirectoryIndex index.html index.htm index.php&lt;br /&gt;
&amp;lt;/pre&amp;gt;.&lt;br /&gt;
* At the end of the file add the following line which will point out where the php.ini file is located&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PHPIniDir &amp;quot;C:/Program Files/PHP&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Restart and test PHP===&lt;br /&gt;
As soon as you make any change to any of php.ini or httpd.conf or any other configuration files you need to restart Apache to see the actual effect of the changes. So lets now restart Apache by using the Apache Monitor tool you can find in your Windows status bar. Hopefully you are not prompted with any dialogues and the Apache Monitor continues to run green.&lt;br /&gt;
&lt;br /&gt;
We will now make a test that PHP is working. Go to your web servers document root (in the default case C:\Program Files\Apache Software Foundation\Apache2.2\htdocs) and add a file called phpinfo.php with the following content:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
phpinfo();&lt;br /&gt;
phpinfo(INFO_MODULES);&lt;br /&gt;
?&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will render a page containing information about your PHP setup and about the various modules/extensions that are currently loaded. Point now your browser to http://localhost/phpinfo.php.&lt;br /&gt;
&lt;br /&gt;
===Installing and configuring xdebug===&lt;br /&gt;
# Point your browser to http://www.xdebug.org/find-binary.php. This page will assist you to find the latest suitable version of xdebug.&lt;br /&gt;
# Copy the entire page of the phpinfo page we ran above and paste it into the textarea and follow the instructions provided to install&lt;br /&gt;
===Resources===&lt;br /&gt;
* http://www.php.net/docs.php excellent and up to date documentation with valuable additional comments from users. Also a downloadable versions are available.&lt;br /&gt;
* http://devzone.zend.com/article/2803 excellent and in depth tutorial on debugging with xdebug&lt;br /&gt;
* http://xdebug.org/docs/ xdebug reference documentation&lt;br /&gt;
&lt;br /&gt;
[[Category:Bug Squad]]&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Setting_up_Apache,_PHP_and_MySQL_manually&amp;diff=28233</id>
		<title>Setting up Apache, PHP and MySQL manually</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Setting_up_Apache,_PHP_and_MySQL_manually&amp;diff=28233"/>
		<updated>2010-05-29T01:57:01Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* MySQL setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Here follows a brief overview of the steps to setup a Apache, PHP, MySQL in a Windows environment and also refer to various related tools to maintain and work with most of the tasks related to Joomla!.&lt;br /&gt;
&lt;br /&gt;
In order to make the instruction clear and succinct, we will assume that wherever we are not stating any explicit instruction, you will let the default setup paths apply without modification.&lt;br /&gt;
&lt;br /&gt;
===Warning===&lt;br /&gt;
If you already have any of the prepackaged AMP stacks installed on your machine:&lt;br /&gt;
* going back to your AMP stack afterwards will be difficult. This is since the various installations we will do below will overwrite registry values and general environment changes (this applies at least for the PC/Windows environment).&lt;br /&gt;
* if you need to maintain any configuration (Apache, MySQL or PHP configuration) or data (your existing websites and related databases), before making attempts of following through this instruction, make proper backup of those&lt;br /&gt;
(needs to be expanded with specific advice on how to achieve the aboves...)&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
* http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development resource on all things related to the topic of this document and more. Geared towards using prepackaged AMP stacks.&lt;br /&gt;
&lt;br /&gt;
==MySQL setup==&lt;br /&gt;
# Download the appropriate MySQL installer option for your platform (commonly x86, 32-bit) from http://www.mysql.com/downloads/mysql/ &lt;br /&gt;
# Start the installation and choose Custom installation path&lt;br /&gt;
# Click through the whole installation process and click Finish&lt;br /&gt;
# You will now be presented with the &amp;quot;MySQL Server Instance Configuration Wizard&amp;quot;&lt;br /&gt;
## Make sure that the &amp;quot;Standard Configuration&amp;quot; is selected and go to Next&lt;br /&gt;
## If you already have MySQL installed you may get the message &amp;quot;A Windows service with the name MySQL already exists. Please uninstall this service correctly or choose a different name for the new service.&amp;quot;  If so, choose an alternative service name.--[[User:PtrNrs|Pete Nurse]] 01:57, 29 May 2010 (UTC)&lt;br /&gt;
## In the next window Check for &amp;quot;Include Bin Directory in Windows PATH&amp;quot;. By doing this you will be able to access the various MySQL utilities from the command line. &lt;br /&gt;
## In the next window you will be able to create password for your root MySQL user, the user with highest access level on your server. &lt;br /&gt;
## In the next and final window all the changes you have configured until now will be saved when you press the Execute button, and the windows service for this instance will be started.&lt;br /&gt;
&lt;br /&gt;
===Notes===&lt;br /&gt;
# In order to make the instruction as accessible as possible we skipped a number of configuration scenarios of your MySQL instance, such as being able to relocate your database files etc. This and more is outlined in http://dev.mysql.com/doc/refman/5.1/en/mysql-config-wizard.html&lt;br /&gt;
# MySQL installs as default with a STRICT mode which might give rise to some errors when using extensions or applications that haven&#039;t considered this. Refer to this resource for more on this: http://dev.mysql.com/doc/refman/5.0/en/server-sql-mode.html&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
* HeidiSQL: http://www.heidisql.com/  easy to use and extensible full-client replacement of phpMyAdmin under constant development&lt;br /&gt;
* MySQL Workbench (version 5.2 and above): http://dev.mysql.com/downloads/workbench/ consists of various tools among which you will appreciate the Administrator, which helps you to configure your MySQL instance. Requires .Net framework http://www.microsoft.com/net/&lt;br /&gt;
* phpMyAdmin: http://www.phpmyadmin.net/ , powerful web based MySQL client for administrating anything related to MySQL&lt;br /&gt;
* MySQL documentation http://dev.mysql.com/doc/ available in different formats&lt;br /&gt;
&lt;br /&gt;
==Apache setup==&lt;br /&gt;
# Download the installer of your preference. Currently you should aim for version 2.2.*, Win32 Binary without crypto applies) from http://httpd.apache.org/download.cgi&lt;br /&gt;
# Run the installer wizard and click through each step until you reach the Server Information window and give the options below respectively and in the given order in each of the fields, unless you have any specific requirements as to how your web server is setup:&lt;br /&gt;
## localhost,&lt;br /&gt;
## localhost and &lt;br /&gt;
## admin@localhost&lt;br /&gt;
# Click through the wizard which will install and start the apache web server as a windows service.&lt;br /&gt;
# In the windows status bar you will now see a pink colored feather with a green colored play button indicating Apache is up and running. Point your browser to http://localhost/ and you should get a page indicating its working.&lt;br /&gt;
# Let us now go to the location where Apache is installed which commonly is at C:\Program Files\Apache Software Foundation\Apache2.2 and go through the various directories&lt;br /&gt;
## bin - contains the various binary files some of which are listed below. In order to access these applications, most of which are command based, we would need to add the path to the bin directory in our global PATH variable. To do that right click on My Computer &amp;gt; Properties &amp;gt; Advanced &amp;gt; Environments Variables and in the System Variables list locate and select the Variable PATH and click on Edit and add a trailing a semi-colon, if not already there, followed by the absolute path to your bin directory. And click out from the System Properties dialogue by accepting.&lt;br /&gt;
### httpd.exe which is the Apache webserver itself, which is spawned to several child processes while serving as many simultaneous incoming clients requests as required by MaxClients directive; &lt;br /&gt;
### ab.exe is a benchmarking tool that comes with Apache allowing you to see how well your application can perform per time unit&lt;br /&gt;
## conf - folder where various configuration files are located of which the following are of most interest in our case&lt;br /&gt;
### httpd.conf - most of the server directives are located in this file and for easy access you should associate the .conf file type with a user friendly editor, i.e. anything other than the default Notepad.&lt;br /&gt;
### extra\httpd-vhosts.conf - contains directives that would allow you use your local server as virtual host, i.e. able to run several servers on your PC. One usage scenario is that during a development phase if you want to map the actual domain you are working for to your local copy, you would be able to do so by making minor tweaks in this file. We will discuss this in more detail below.&lt;br /&gt;
## htdocs - the default web server root, this is where the http://localhost/ is mapped, i.e. if you don&#039;t reconfigure it in httpd.conf above.&lt;br /&gt;
## logs - access and error logs, when trying to address various issues related to your server or even your application&lt;br /&gt;
===Virtual hosting===&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
* http://httpd.apache.org/docs/2.2/ reference documentation&lt;br /&gt;
&lt;br /&gt;
==PHP setup==&lt;br /&gt;
# Download PHP from http://windows.php.net/download/ and choose commonly VC6 x86 Thread Safe in Zip format. The various options have to do with how the PHP code base was compiled to binary and is probably nothing you should worry about for now.&lt;br /&gt;
# Create a folder under your C:\Program Files\ (or wherever your program directory is located) a folder called PHP. &lt;br /&gt;
# Locate your downloaded Zip file and move it to the newly created folder and unpack it directly into the folder.&lt;br /&gt;
# Let us now add the PHP path to our global PATH variable by following the instruction above&lt;br /&gt;
&lt;br /&gt;
===Configuring PHP===&lt;br /&gt;
The configuration amounts to editing the php.ini file. A sample file for different scenarios are already in your PHP folder. Let us rename php.ini-development to php.ini and open it in your favorite text editor. The common values to tweak are as follows and all of these variables are well documented in the php.ini file (please note that this is a server wide setting applying to all your projects):&lt;br /&gt;
* max_execution_time - whenever you have scripts that run for too long and the server returns various unexpected results which you think is due to not being able to run through the whole process&lt;br /&gt;
* memory_limit&lt;br /&gt;
* error_reporting &lt;br /&gt;
* display_errors&lt;br /&gt;
* log_errors - a variable you would need to take note of in production scenarios&lt;br /&gt;
* upload_tmp_dir&lt;br /&gt;
* upload_max_filesize&lt;br /&gt;
* extension_dir - in order to avoid complications we will point out the directory where the following extensions are located by uncommenting this variable and assign the absolute location of the folder, and the complete line should read as follows&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
extension_dir = &amp;quot;C:\Program Files\PHP\ext&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Dynamic extensions section contains various additional modules that you want to be loaded with, and the commented once are those that comes prepackaged with PHP and can be found in the ext directory in your PHP folder. If you want to activate any just remove the commenting as you should do with the following extensions:&lt;br /&gt;
** php_curl.dll&lt;br /&gt;
** php_gd2.dll&lt;br /&gt;
** php_mbstring.dll&lt;br /&gt;
** php_mysql.dll&lt;br /&gt;
** php_mysqli.dll&lt;br /&gt;
** php_pdo.dll&lt;br /&gt;
** php_pdo_mysql.dll&lt;br /&gt;
** php_xsl.dll&lt;br /&gt;
* session.save_path&lt;br /&gt;
&lt;br /&gt;
===Configuring Apache to work with PHP===&lt;br /&gt;
Now that we have configured PHP to work as we want it, lets go to Apache and do the same. &lt;br /&gt;
* Open httpd.conf. and in the &amp;quot;Dynamic Shared Object (DSO) Support&amp;quot; section add the following directives (if you have located your PHP folder differently do make corresponding change for php5apache2_2.dll below): &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoadModule php5_module &amp;quot;C:/Program Files/PHP/php5apache2_2.dll&amp;quot; &lt;br /&gt;
AddType application/x-httpd-php .php&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
* In the DirectoryIndex add index.php and index.htm as possible files to serve when directory is requested as follows&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DirectoryIndex index.html index.htm index.php&lt;br /&gt;
&amp;lt;/pre&amp;gt;.&lt;br /&gt;
* At the end of the file add the following line which will point out where the php.ini file is located&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PHPIniDir &amp;quot;C:/Program Files/PHP&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Restart and test PHP===&lt;br /&gt;
As soon as you make any change to any of php.ini or httpd.conf or any other configuration files you need to restart Apache to see the actual effect of the changes. So lets now restart Apache by using the Apache Monitor tool you can find in your Windows status bar. Hopefully you are not prompted with any dialogues and the Apache Monitor continues to run green.&lt;br /&gt;
&lt;br /&gt;
We will now make a test that PHP is working. Go to your web servers document root (in the default case C:\Program Files\Apache Software Foundation\Apache2.2\htdocs) and add a file called phpinfo.php with the following content:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
phpinfo();&lt;br /&gt;
phpinfo(INFO_MODULES);&lt;br /&gt;
?&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will render a page containing information about your PHP setup and about the various modules/extensions that are currently loaded. Point now your browser to http://localhost/phpinfo.php.&lt;br /&gt;
&lt;br /&gt;
===Installing and configuring xdebug===&lt;br /&gt;
# Point your browser to http://www.xdebug.org/find-binary.php. This page will assist you to find the latest suitable version of xdebug.&lt;br /&gt;
# Copy the entire page of the phpinfo page we ran above and paste it into the textarea and follow the instructions provided to install&lt;br /&gt;
===Resources===&lt;br /&gt;
* http://www.php.net/docs.php excellent and up to date documentation with valuable additional comments from users. Also a downloadable versions are available.&lt;br /&gt;
* http://devzone.zend.com/article/2803 excellent and in depth tutorial on debugging with xdebug&lt;br /&gt;
* http://xdebug.org/docs/ xdebug reference documentation&lt;br /&gt;
&lt;br /&gt;
[[Category:Bug Squad]]&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Setting_up_Apache,_PHP_and_MySQL_manually&amp;diff=28175</id>
		<title>Setting up Apache, PHP and MySQL manually</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Setting_up_Apache,_PHP_and_MySQL_manually&amp;diff=28175"/>
		<updated>2010-05-27T22:44:37Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* Notes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;WIP&lt;br /&gt;
==Overview==&lt;br /&gt;
Here follows a brief overview of the steps to setup a Apache, PHP, MySQL in a Windows environment and also refer to various related tools to maintain and work with most of the tasks related to Joomla!.&lt;br /&gt;
&lt;br /&gt;
In order to make the instruction clear and succinct, we will assume that wherever we are not stating any explicit instruction, you will let the default setup paths apply without modification.&lt;br /&gt;
&lt;br /&gt;
===Warning===&lt;br /&gt;
* If you already have any of the prepackaged AMP stacks installed, before making any attempts of following through the following instructions, please make sure to make proper backup of your sites and any eventual configurations you would like to maintain.&lt;br /&gt;
* Futhermore in the PC environment (at least), this procedure will overwrite one or more registry entries.  It&#039;s strongly recommended that, your first attempt is on a computer with no AMP install whatsoever.&lt;br /&gt;
(needs to be expanded...)&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
* http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development resource on all things related to the topic of this document and more. Geared towards using prepackaged AMP stacks.&lt;br /&gt;
&lt;br /&gt;
==MySQL setup==&lt;br /&gt;
# Download the appropriate MySQL installer option for your platform (commonly x86, 32-bit) from http://www.mysql.com/downloads/mysql/ &lt;br /&gt;
# Start the installation and choose Custom installation path&lt;br /&gt;
# Click through the whole installation process and click Finish&lt;br /&gt;
# You will now be presented with the &amp;quot;MySQL Server Instance Configuration Wizard&amp;quot;&lt;br /&gt;
## Make sure that the &amp;quot;Standard Configuration&amp;quot; is selected and go to Next&lt;br /&gt;
## In the next window Check for &amp;quot;Include Bin Directory in Windows PATH&amp;quot;. By doing this you will be able to access the various MySQL utilities from the command line. &lt;br /&gt;
## In the next window you will be able to create password for your root MySQL user, the user with highest access level on your server. &lt;br /&gt;
## In the next and final window all the changes you have configured until now will be saved when you press the Execute button, and the windows service for this instance will be started.&lt;br /&gt;
&lt;br /&gt;
===Notes===&lt;br /&gt;
# In order to make the instruction as accessible as possible we skipped a number of configuration scenarios of your MySQL instance, such as being able to relocate your database files etc. This and more is outlined in http://dev.mysql.com/doc/refman/5.1/en/mysql-config-wizard.html&lt;br /&gt;
# MySQL installs as default with a STRICT mode which might give rise to some errors when using extensions or applications that haven&#039;t considered this. Refer to this resource for more on this: http://dev.mysql.com/doc/refman/5.0/en/server-sql-mode.html&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
* HeidiSQL: http://www.heidisql.com/  easy to use and extensible full-client replacement of phpMyAdmin under constant development&lt;br /&gt;
* MySQL Workbench (version 5.2 and above): http://dev.mysql.com/downloads/workbench/ consists of various tools among which you will appreciate the Administrator, which helps you to configure your MySQL instance. Requires .Net framework http://www.microsoft.com/net/&lt;br /&gt;
* phpMyAdmin: http://www.phpmyadmin.net/ , powerful web based MySQL client for administrating anything related to MySQL&lt;br /&gt;
* MySQL documentation http://dev.mysql.com/doc/ available in different formats&lt;br /&gt;
&lt;br /&gt;
==Apache setup==&lt;br /&gt;
# Download the installer of your preference. Currently you should aim for version 2.2.*, Win32 Binary without crypto applies) from http://httpd.apache.org/download.cgi&lt;br /&gt;
# Run the installer wizard and click through each step until you reach the Server Information window and give the options below respectively and in the given order in each of the fields, unless you have any specific requirements as to how your web server is setup:&lt;br /&gt;
## localhost,&lt;br /&gt;
## localhost and &lt;br /&gt;
## admin@localhost&lt;br /&gt;
# Click through the wizard which will install and start the apache web server as a windows service.&lt;br /&gt;
# In the windows status bar you will now see a pink colored feather with a green colored play button indicating Apache is up and running. Point your browser to http://localhost/ and you should get a page indicating its working.&lt;br /&gt;
# Let us now go to the location where Apache is installed which commonly is at C:\Program Files\Apache Software Foundation\Apache2.2 and go through the various directories&lt;br /&gt;
## bin - contains the various binary files some of which are listed below. In order to access these applications, most of which are command based, we would need to add the path to the bin directory in our global PATH variable. To do that right click on My Computer &amp;gt; Properties &amp;gt; Advanced &amp;gt; Environments Variables and in the System Variables list locate and select the Variable PATH and click on Edit and add a trailing a semi-colon, if not already there, followed by the absolute path to your bin directory. And click out from the System Properties dialogue by accepting.&lt;br /&gt;
### httpd.exe which is the Apache webserver itself, which is spawned to several child processes while serving as many simultaneous incoming clients requests as required by MaxClients directive; &lt;br /&gt;
### ab.exe is a benchmarking tool that comes with Apache allowing you to see how well your application can perform per time unit&lt;br /&gt;
## conf - folder where various configuration files are located of which the following are of most interest in our case&lt;br /&gt;
### httpd.conf - most of the server directives are located in this file and for easy access you should associate the .conf file type with a user friendly editor, i.e. anything other than the default Notepad.&lt;br /&gt;
### extra\httpd-vhosts.conf - contains directives that would allow you use your local server as virtual host, i.e. able to run several servers on your PC. One usage scenario is that during a development phase if you want to map the actual domain you are working for to your local copy, you would be able to do so by making minor tweaks in this file. We will discuss this in more detail below.&lt;br /&gt;
## htdocs - the default web server root, this is where the http://localhost/ is mapped if you don&#039;t reconfigure it.&lt;br /&gt;
## logs - access and error logs, when trying to address various issues related to your server or even your application&lt;br /&gt;
===Virtual hosting===&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
* http://httpd.apache.org/docs/2.2/ reference documentation&lt;br /&gt;
&lt;br /&gt;
==PHP setup==&lt;br /&gt;
# Download PHP from http://windows.php.net/download/ and choose commonly VC6 x86 Thread Safe in Zip format. The various options have to do with how the PHP code base was compiled to binary and is probably nothing you should worry about for now.&lt;br /&gt;
# Create a folder under your C:\Program Files\ (or wherever your program directory is located) a folder called PHP. &lt;br /&gt;
# Locate your downloaded Zip file and move it to the newly created folder and unpack it directly into the folder.&lt;br /&gt;
# Let us now add the PHP path to our global PATH variable by following the instruction above&lt;br /&gt;
&lt;br /&gt;
===Configuring PHP===&lt;br /&gt;
The configuration amounts to editing the php.ini file. A sample file for different scenarios are already in your PHP folder. Let us rename php.ini-development to php.ini and open it in your favorite text editor. The common values to tweak are as follows and all of these variables are well documented in the php.ini file (please note that this is a server wide setting applying to all your projects):&lt;br /&gt;
* max_execution_time - whenever you have scripts that run for too long and the server returns various unexpected results which you think is due to not being able to run through the whole process&lt;br /&gt;
* memory_limit&lt;br /&gt;
* error_reporting &lt;br /&gt;
* display_errors&lt;br /&gt;
* log_errors - a variable you would need to take note of in production scenarios&lt;br /&gt;
* upload_tmp_dir&lt;br /&gt;
* upload_max_filesize&lt;br /&gt;
* extension_dir - in order to avoid complications we will point out the directory where the following extensions are located by uncommenting this variable and assign the absolute location of the folder, and the complete line should read as follows&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
extension_dir = &amp;quot;C:\Program Files\PHP\ext&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Dynamic extensions section contains various additional modules that you want to be loaded with, and the commented once are those that comes prepackaged with PHP and can be found in the ext directory in your PHP folder. If you want to activate any just remove the commenting as you should do with the following extensions:&lt;br /&gt;
** php_curl.dll&lt;br /&gt;
** php_gd2.dll&lt;br /&gt;
** php_mbstring.dll&lt;br /&gt;
** php_mysql.dll&lt;br /&gt;
** php_mysqli.dll&lt;br /&gt;
** php_pdo.dll&lt;br /&gt;
** php_pdo_mysql.dll&lt;br /&gt;
** php_xsl.dll&lt;br /&gt;
* session.save_path&lt;br /&gt;
&lt;br /&gt;
===Configuring Apache to work with PHP===&lt;br /&gt;
Now that we have configured PHP to work as we want it, lets go to Apache and do the same. &lt;br /&gt;
* Open httpd.conf. and in the &amp;quot;Dynamic Shared Object (DSO) Support&amp;quot; section add the following directives (if you have located your PHP folder differently do make corresponding change for php5apache2_2.dll below): &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoadModule php5_module &amp;quot;C:/Program Files/PHP/php5apache2_2.dll&amp;quot; &lt;br /&gt;
AddType application/x-httpd-php .php&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
* In the DirectoryIndex add index.php and index.htm as possible files to serve when directory is requested as follows&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DirectoryIndex index.html index.htm index.php&lt;br /&gt;
&amp;lt;/pre&amp;gt;.&lt;br /&gt;
* At the end of the file add the following line which will point out where the php.ini file is located&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PHPIniDir &amp;quot;C:/Program Files/PHP&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Restart and test PHP===&lt;br /&gt;
As soon as you make any change to any of php.ini or httpd.conf or any other configuration files you need to restart Apache to see the actual effect of the changes. So lets now restart Apache by using the Apache Monitor tool you can find in your Windows status bar. Hopefully you are not prompted with any dialogues and the Apache Monitor continues to run green.&lt;br /&gt;
&lt;br /&gt;
We will now make a test that PHP is working. Go to your web servers document root (in the default case C:\Program Files\Apache Software Foundation\Apache2.2\htdocs) and add a file called phpinfo.php with the following content:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
phpinfo();&lt;br /&gt;
phpinfo(INFO_MODULES);&lt;br /&gt;
?&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will render a page containing information about your PHP setup and about the various modules/extensions that are currently loaded. Point now your browser to http://localhost/phpinfo.php.&lt;br /&gt;
&lt;br /&gt;
===Installing and configuring xdebug===&lt;br /&gt;
# Point your browser to http://www.xdebug.org/find-binary.php. This page will assist you to find the latest suitable version of xdebug.&lt;br /&gt;
# Copy the entire page of the phpinfo page we ran above and paste it into the textarea and follow the instructions provided to install&lt;br /&gt;
===Resources===&lt;br /&gt;
* http://www.php.net/docs.php excellent and up to date documentation with valuable additional comments from users. Also a downloadable versions are available.&lt;br /&gt;
* http://devzone.zend.com/article/2803 excellent and in depth tutorial on debugging with xdebug&lt;br /&gt;
* http://xdebug.org/docs/ xdebug reference documentation&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Setting_up_Apache,_PHP_and_MySQL_manually&amp;diff=28137</id>
		<title>Setting up Apache, PHP and MySQL manually</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Setting_up_Apache,_PHP_and_MySQL_manually&amp;diff=28137"/>
		<updated>2010-05-27T01:07:40Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* MySQL setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;WIP&lt;br /&gt;
==Overview==&lt;br /&gt;
Here follows a brief overview of the steps to setup a Apache, PHP, MySQL in a Windows environment and also refer to various related tools to maintain and work with most of the tasks related to Joomla!.&lt;br /&gt;
&lt;br /&gt;
In order to make the instruction clear and succinct, we will assume that wherever we are not stating any explicit instruction, you will let the default setup paths apply without modification.&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
* http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development exhaustive resource on all things related to the topic of this document and more. Geared towards using packaged AMP stacks.&lt;br /&gt;
&lt;br /&gt;
==MySQL setup==&lt;br /&gt;
# Download the appropriate MySQL installer option for your platform (commonly x86, 32-bit) from http://www.mysql.com/downloads/mysql/ &lt;br /&gt;
# Start the installation and choose Custom installation path&lt;br /&gt;
# Click through the whole installation process and click Finish&lt;br /&gt;
# You will now be presented with the &amp;quot;MySQL Server Instance Configuration Wizard&amp;quot;&lt;br /&gt;
## Make sure that the &amp;quot;Standard Configuration&amp;quot; is selected and go to Next&lt;br /&gt;
## In the next window Check for &amp;quot;Include Bin Directory in Windows PATH&amp;quot;. By doing this you will be able to access the various MySQL utilities from the command line. &lt;br /&gt;
## In the next window you will be able to create password for your root MySQL user, the user with highest access level on your server. &lt;br /&gt;
## In the next and final window all the changes you have configured until now will be saved when you press the Execute button, and the windows service for this instance will be started.&lt;br /&gt;
&lt;br /&gt;
===Notes===&lt;br /&gt;
# In order to make the instruction as accessible as possible we skipped a number of configuration scenarios of your MySQL instance, such as being able to relocate your database files etc. This and more is outlined in http://dev.mysql.com/doc/refman/5.1/en/mysql-config-wizard.html&lt;br /&gt;
# MySQL installs as default with a STRICT mode which might give rise to some errors when using extensions or applications that haven&#039;t considered this. Refer to this resource for more on this: http://dev.mysql.com/doc/refman/5.0/en/server-sql-mode.html&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
* HeidiSQL: http://www.heidisql.com/  easy to use and extensible full-client replacement of phpMyAdmin under constant development&lt;br /&gt;
* MySQL Workbench: http://www.mysql.com/downloads/workbench/ consists of various tools among which you will appreciate the Administrator, which helps you to configure your MySQL instance and requires .Net framework http://www.microsoft.com/net/&lt;br /&gt;
* phpMyAdmin: http://www.phpmyadmin.net/ , powerful web based MySQL client for administrating anything related to MySQL&lt;br /&gt;
* MySQL documentation http://dev.mysql.com/doc/ available in different formats&lt;br /&gt;
&lt;br /&gt;
==Apache setup==&lt;br /&gt;
# Download the installer of your preference. Currently you should aim for version 2.2.*, Win32 Binary without crypto applies) from http://httpd.apache.org/download.cgi&lt;br /&gt;
# Run the installer wizard and click through each step until you reach the Server Information window and give the options below respectively and in the given order in each of the fields, unless you have any specific requirements as to how your web server is setup:&lt;br /&gt;
## localhost,&lt;br /&gt;
## localhost and &lt;br /&gt;
## admin@localhost&lt;br /&gt;
# Click through the wizard which will install and start the apache web server as a windows service.&lt;br /&gt;
# In the windows status bar you will now see a pink colored feather with a green colored play button indicating Apache is up and running. Point your browser to http://localhost/ and you should get a page indicating its working.&lt;br /&gt;
# Let us now go to the location where Apache is installed which commonly is at C:\Program Files\Apache Software Foundation\Apache2.2 and go through the various directories&lt;br /&gt;
## bin - contains the various binary files some of which are listed below. In order to access these applications, most of which are command based, we would need to add the path to the bin directory in our global PATH variable. To do that right click on My Computer &amp;gt; Properties &amp;gt; Advanced &amp;gt; Environments Variables and in the System Variables list locate and select the Variable PATH and click on Edit and add a trailing a semi-colon, if not already there, followed by the absolute path to your bin directory. And click out from the System Properties dialogue by accepting.&lt;br /&gt;
### httpd.exe which is the Apache webserver itself, which is spawned to several child processes while serving as many simultaneous incoming clients requests as required by MaxClients directive; &lt;br /&gt;
### ab.exe is a benchmarking tool that comes with Apache allowing you to see how well your application can perform per time unit&lt;br /&gt;
## conf - folder where various configuration files are located of which the following are of most interest in our case&lt;br /&gt;
### httpd.conf - most of the server directives are located in this file and for easy access you should associate the .conf file type with a user friendly editor, i.e. anything other than the default Notepad.&lt;br /&gt;
### extra\httpd-vhosts.conf - contains directives that would allow you use your local server as virtual host, i.e. able to run several servers on your PC. One usage scenario is that during a development phase if you want to map the actual domain you are working for to your local copy, you would be able to do so by making minor tweaks in this file. We will discuss this in more detail below.&lt;br /&gt;
## htdocs - the default web server root, this is where the http://localhost/ is mapped if you don&#039;t reconfigure it.&lt;br /&gt;
## logs - access and error logs, when trying to address various issues related to your server or even your application&lt;br /&gt;
===Virtual hosting===&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
* http://httpd.apache.org/docs/2.2/ reference documentation&lt;br /&gt;
&lt;br /&gt;
==PHP setup==&lt;br /&gt;
# Download PHP from http://windows.php.net/download/ and choose commonly VC6 x86 Thread Safe in Zip format. The various options have to do with how the PHP code base was compiled to binary and is probably nothing you should worry about for now.&lt;br /&gt;
# Create a folder under your C:\Program Files\ (or wherever your program directory is located) a folder called PHP. &lt;br /&gt;
# Locate your downloaded Zip file and move it to the newly created folder and unpack it directly into the folder.&lt;br /&gt;
# Let us now add the PHP path to our global PATH variable by following the instruction above&lt;br /&gt;
&lt;br /&gt;
===Configuring PHP===&lt;br /&gt;
The configuration amounts to editing the php.ini file. A sample file for different scenarios are already in your PHP folder. Let us rename php.ini-development to php.ini and open it in your favorite text editor. The common values to tweak are as follows and all of these variables are well documented in the php.ini file (please note that this is a server wide setting applying to all your projects):&lt;br /&gt;
* max_execution_time - whenever you have scripts that run for too long and the server returns various unexpected results which you think is due to not being able to run through the whole process&lt;br /&gt;
* memory_limit&lt;br /&gt;
* error_reporting &lt;br /&gt;
* display_errors&lt;br /&gt;
* log_errors - a variable you would need to take note of in production scenarios&lt;br /&gt;
* upload_tmp_dir&lt;br /&gt;
* upload_max_filesize&lt;br /&gt;
* extension_dir - in order to avoid complications we will point out the directory where the following extensions are located by uncommenting this variable and assign the absolute location of the folder, and the complete line should read as follows&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
extension_dir = &amp;quot;C:\Program Files\PHP\ext&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Dynamic extensions section contains various additional modules that you want to be loaded with, and the commented once are those that comes prepackaged with PHP and can be found in the ext directory in your PHP folder. If you want to activate any just remove the commenting as you should do with the following extensions:&lt;br /&gt;
** php_curl.dll&lt;br /&gt;
** php_gd2.dll&lt;br /&gt;
** php_mbstring.dll&lt;br /&gt;
** php_mysql.dll&lt;br /&gt;
** php_mysqli.dll&lt;br /&gt;
** php_pdo.dll&lt;br /&gt;
** php_pdo_mysql.dll&lt;br /&gt;
** php_xsl.dll&lt;br /&gt;
* session.save_path&lt;br /&gt;
&lt;br /&gt;
===Configuring Apache to work with PHP===&lt;br /&gt;
Now that we have configured PHP to work as we want it, lets go to Apache and do the same. &lt;br /&gt;
* Open httpd.conf. and in the &amp;quot;Dynamic Shared Object (DSO) Support&amp;quot; section add the following directives (if you have located your PHP folder differently do make corresponding change for php5apache2_2.dll below): &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoadModule php5_module &amp;quot;C:/Program Files/PHP/php5apache2_2.dll&amp;quot; &lt;br /&gt;
AddType application/x-httpd-php .php&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
* In the DirectoryIndex add index.php as possible file to serve when directory is requested as follows&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DirectoryIndex index.html index.htm index.php&lt;br /&gt;
&amp;lt;/pre&amp;gt;.&lt;br /&gt;
* At the end of the file add the following line which will point out where the php.ini file is located&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PHPIniDir &amp;quot;C:/Program Files/PHP&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Restart and test PHP===&lt;br /&gt;
As soon as you make any change to any of php.ini or httpd.conf or any other configuration files you need to restart Apache to see the actual effect of the changes. So lets now restart Apache by using the Apache Monitor tool you can find in your Windows status bar. Hopefully you are not prompted with any dialogues and the Apache Monitor continues to run green.&lt;br /&gt;
&lt;br /&gt;
We will now make a test that PHP is working. Go to your web servers document root (in the default case C:\Program Files\Apache Software Foundation\Apache2.2\htdocs) and add a file called phpinfo.php with the following content:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
phpinfo();&lt;br /&gt;
phpinfo(INFO_MODULES);&lt;br /&gt;
?&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will render a page containing information about your PHP setup and about the various modules/extensions that are currently loaded. Point now your browser to http://localhost/phpinfo.php.&lt;br /&gt;
&lt;br /&gt;
===Installing and configuring xdebug===&lt;br /&gt;
# Point your browser to http://www.xdebug.org/find-binary.php. This page will assist you to find the latest suitable version of xdebug.&lt;br /&gt;
# Copy the entire page of the phpinfo page we ran above and paste it into the textarea and follow the instructions provided to install&lt;br /&gt;
===Resources===&lt;br /&gt;
* http://www.php.net/docs.php excellent and up to date documentation with valuable additional comments from users. Also a downloadable versions are available.&lt;br /&gt;
* http://devzone.zend.com/article/2803 excellent and in depth tutorial on debugging with xdebug&lt;br /&gt;
* http://xdebug.org/docs/ xdebug reference documentation&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=26571</id>
		<title>Talk:Setting up your workstation for extension development (build with Phing)</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=26571"/>
		<updated>2010-04-04T07:39:33Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article fails to explain the content of the original package before it is installed, way before setting up PHING needs improvement.&lt;br /&gt;
&lt;br /&gt;
Quite unfair comment that.  Mark&#039;s previous two articles cover the setup of XAMPP/Eclipse/Joomla in comprehensive detail.&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla%21_development_--_Part_2&lt;br /&gt;
([[User:PtrNrs|Pete Nurse]] 00:43, 16 March 2010 (UTC))&lt;br /&gt;
&lt;br /&gt;
===Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode===&lt;br /&gt;
These are issues that I&#039;ve come up against.  Maybe my solutions are not definitively correct.&lt;br /&gt;
&lt;br /&gt;
*Good JoomlaCode resources (and they&#039;re hard to find!) are at:-&lt;br /&gt;
&lt;br /&gt;
::[http://forum.joomla.org/viewforum.php?f=406 forum.joomla.org: JoomlaCode.org]&lt;br /&gt;
&lt;br /&gt;
::[http://docs.joomla.org/JoomlaCode_FAQs docs.joomla.org: JoomlaCode FAQs (mostly admin stuff)]&lt;br /&gt;
&lt;br /&gt;
::[http://joomlacode.org/gf/project/attachments/forum/?action=ForumBrowse&amp;amp;forum_id=7017 joomlacode.org: FAQs]&lt;br /&gt;
&lt;br /&gt;
*To create a JoomlaCode account, go to the [http://joomlacode.org/gf/project/ JoomlaCode Project page] and click on the &amp;quot;&#039;&#039;add new Project&#039;&#039;&amp;quot; bottom at the very bottom of the page.  In time your application will be reviewed and (hopefully) approved.&lt;br /&gt;
&lt;br /&gt;
*To initially put your project under SVN version control, right click the project folder and then select &#039;&#039;Team-&amp;gt;Share Project...&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*Eclipse will not let you upload to the root folder of your JoomlaCode Project.  Instead, upload to a folder with the same name as your Eclipse project.&lt;br /&gt;
&lt;br /&gt;
*When deleting a folder in Eclipse&#039;s Explorer window and then commit by right clicking and selecting &#039;&#039;Team-&amp;gt;Commit&#039;&#039; you can (do?) get the following error:-&lt;br /&gt;
::&#039;&#039;svn:Commit failed item . . . is out of date&#039;&#039;&lt;br /&gt;
:To overcome this, delete the folder in the SVN repository (&#039;&#039;Window-&amp;gt;Show View-&amp;gt;SVN Respositories&#039;&#039;) first and then right click on teh folder and select &#039;&#039;Team-&amp;gt;Update to HEAD&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*Under some circumstances, you might find that you cannot write to the reposisitory receiving the following error:-&lt;br /&gt;
::&#039;&#039;svn: Server sent unexpected return value (403 Forbidden) in response to MKACTIVITY request&#039;&#039;&lt;br /&gt;
:This may be due to a problem with password caching.  The following page shows how to clear the cached passwords:-&lt;br /&gt;
::http://help.collab.net/index.jsp?topic=/faq/clear_old_password.html&lt;br /&gt;
--[[User:PtrNrs|Pete Nurse]] 01:35, 16 March 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
*You can get a &amp;quot;Commit failed . . . Item is out of date&amp;quot; error when deleting (&amp;amp;or moving?) a folder and then trying to commit.  The work-around (from http://nickhumphrey.net/showthread.php?p=3277) is:-&lt;br /&gt;
:Delete the folders;&lt;br /&gt;
:Team-&amp;gt;Synchronize with Repository;&lt;br /&gt;
:Team-&amp;gt;Commit&lt;br /&gt;
--[[User:PtrNrs|Pete Nurse]] 07:37, 4 April 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=26570</id>
		<title>Talk:Setting up your workstation for extension development (build with Phing)</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=26570"/>
		<updated>2010-04-04T07:37:10Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article fails to explain the content of the original package before it is installed, way before setting up PHING needs improvement.&lt;br /&gt;
&lt;br /&gt;
Quite unfair comment that.  Mark&#039;s previous two articles cover the setup of XAMPP/Eclipse/Joomla in comprehensive detail.&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla%21_development_--_Part_2&lt;br /&gt;
([[User:PtrNrs|Pete Nurse]] 00:43, 16 March 2010 (UTC))&lt;br /&gt;
&lt;br /&gt;
===Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode===&lt;br /&gt;
These are issues that I&#039;ve come up against.  Maybe my solutions are not definitively correct.&lt;br /&gt;
&lt;br /&gt;
*Good JoomlaCode resources (and they&#039;re hard to find!) are at:-&lt;br /&gt;
&lt;br /&gt;
::[http://forum.joomla.org/viewforum.php?f=406 forum.joomla.org: JoomlaCode.org]&lt;br /&gt;
&lt;br /&gt;
::[http://docs.joomla.org/JoomlaCode_FAQs docs.joomla.org: JoomlaCode FAQs (mostly admin stuff)]&lt;br /&gt;
&lt;br /&gt;
::[http://joomlacode.org/gf/project/attachments/forum/?action=ForumBrowse&amp;amp;forum_id=7017 joomlacode.org: FAQs]&lt;br /&gt;
&lt;br /&gt;
*To create a JoomlaCode account, go to the [http://joomlacode.org/gf/project/ JoomlaCode Project page] and click on the &amp;quot;&#039;&#039;add new Project&#039;&#039;&amp;quot; bottom at the very bottom of the page.  In time your application will be reviewed and (hopefully) approved.&lt;br /&gt;
&lt;br /&gt;
*To initially put your project under SVN version control, right click the project folder and then select &#039;&#039;Team-&amp;gt;Share Project...&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*Eclipse will not let you upload to the root folder of your JoomlaCode Project.  Instead, upload to a folder with the same name as your Eclipse project.&lt;br /&gt;
&lt;br /&gt;
*When deleting a folder in Eclipse&#039;s Explorer window and then commit by right clicking and selecting &#039;&#039;Team-&amp;gt;Commit&#039;&#039; you can (do?) get the following error:-&lt;br /&gt;
::&#039;&#039;svn:Commit failed item . . . is out of date&#039;&#039;&lt;br /&gt;
:To overcome this, delete the folder in the SVN repository (&#039;&#039;Window-&amp;gt;Show View-&amp;gt;SVN Respositories&#039;&#039;) first and then right click on teh folder and select &#039;&#039;Team-&amp;gt;Update to HEAD&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*Under some circumstances, you might find that you cannot write to the reposisitory receiving the following error:-&lt;br /&gt;
::&#039;&#039;svn: Server sent unexpected return value (403 Forbidden) in response to MKACTIVITY request&#039;&#039;&lt;br /&gt;
:This may be due to a problem with password caching.  The following page shows how to clear the cached passwords:-&lt;br /&gt;
::http://help.collab.net/index.jsp?topic=/faq/clear_old_password.html&lt;br /&gt;
--[[User:PtrNrs|Pete Nurse]] 01:35, 16 March 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
*As noted at http://nickhumphrey.net/showthread.php?p=3277, you can get a &amp;quot;Commit failed . . . Item is out of date&amp;quot; error when perfectly innocently deleting a folder and then trying to commit.  The solution (work-around?) is:-&lt;br /&gt;
:Delete the folders;&lt;br /&gt;
:Team-&amp;gt;Synchronize with Repository;&lt;br /&gt;
:Team-&amp;gt;Commit&lt;br /&gt;
--[[User:PtrNrs|Pete Nurse]] 07:37, 4 April 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22261</id>
		<title>Talk:Setting up your workstation for extension development (build with Phing)</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22261"/>
		<updated>2010-03-16T03:10:14Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article fails to explain the content of the original package before it is installed, way before setting up PHING needs improvement.&lt;br /&gt;
&lt;br /&gt;
Quite unfair comment that.  Mark&#039;s previous two articles cover the setup of XAMPP/Eclipse/Joomla in comprehensive detail.&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla%21_development_--_Part_2&lt;br /&gt;
([[User:PtrNrs|Pete Nurse]] 00:43, 16 March 2010 (UTC))&lt;br /&gt;
&lt;br /&gt;
===Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode===&lt;br /&gt;
These are issues that I&#039;ve come up against.  Maybe my solutions are not definitively correct.&lt;br /&gt;
&lt;br /&gt;
*Good JoomlaCode resources (and they&#039;re hard to find!) are at:-&lt;br /&gt;
&lt;br /&gt;
::[http://forum.joomla.org/viewforum.php?f=406 forum.joomla.org: JoomlaCode.org]&lt;br /&gt;
&lt;br /&gt;
::[http://docs.joomla.org/JoomlaCode_FAQs docs.joomla.org: JoomlaCode FAQs (mostly admin stuff)]&lt;br /&gt;
&lt;br /&gt;
::[http://joomlacode.org/gf/project/attachments/forum/?action=ForumBrowse&amp;amp;forum_id=7017 joomlacode.org: FAQs]&lt;br /&gt;
&lt;br /&gt;
*To create a JoomlaCode account, go to the [http://joomlacode.org/gf/project/ JoomlaCode Project page] and click on the &amp;quot;&#039;&#039;add new Project&#039;&#039;&amp;quot; bottom at the very bottom of the page.  In time your application will be reviewed and (hopefully) approved.&lt;br /&gt;
&lt;br /&gt;
*To initially put your project under SVN version control, right click the project folder and then select &#039;&#039;Team-&amp;gt;Share Project...&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*Eclipse will not let you upload to the root folder of your JoomlaCode Project.  Instead, upload to a folder with the same name as your Eclipse project.&lt;br /&gt;
&lt;br /&gt;
*When deleting a folder in Eclipse&#039;s Explorer window and then commit by right clicking and selecting &#039;&#039;Team-&amp;gt;Commit&#039;&#039; you can (do?) get the following error:-&lt;br /&gt;
::&#039;&#039;svn:Commit failed item . . . is out of date&#039;&#039;&lt;br /&gt;
:To overcome this, delete the folder in the SVN repository (&#039;&#039;Window-&amp;gt;Show View-&amp;gt;SVN Respositories&#039;&#039;) first and then right click on teh folder and select &#039;&#039;Team-&amp;gt;Update to HEAD&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*Under some circumstances, you might find that you cannot write to the reposisitory receiving the following error:-&lt;br /&gt;
::&#039;&#039;svn: Server sent unexpected return value (403 Forbidden) in response to MKACTIVITY request&#039;&#039;&lt;br /&gt;
:This may be due to a problem with password caching.  The following page shows how to clear the cached passwords:-&lt;br /&gt;
::http://help.collab.net/index.jsp?topic=/faq/clear_old_password.html&lt;br /&gt;
--[[User:PtrNrs|Pete Nurse]] 01:35, 16 March 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22259</id>
		<title>Talk:Setting up your workstation for extension development (build with Phing)</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22259"/>
		<updated>2010-03-16T03:09:09Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article fails to explain the content of the original package before it is installed, way before setting up PHING needs improvement.&lt;br /&gt;
&lt;br /&gt;
Quite unfair comment that.  Mark&#039;s previous two articles cover the setup of XAMPP/Eclipse/Joomla in comprehensive detail.&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla%21_development_--_Part_2&lt;br /&gt;
([[User:PtrNrs|Pete Nurse]] 00:43, 16 March 2010 (UTC))&lt;br /&gt;
&lt;br /&gt;
===Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode===&lt;br /&gt;
These are issues that I&#039;ve come up against.  Maybe my solutions are not definitively correct.&lt;br /&gt;
&lt;br /&gt;
*Good JoomlaCode resources (and they&#039;re hard to find!) are at:-&lt;br /&gt;
&lt;br /&gt;
::[http://forum.joomla.org/viewforum.php?f=406 forum.joomla.org: JoomlaCode.org]&lt;br /&gt;
&lt;br /&gt;
::[http://docs.joomla.org/JoomlaCode_FAQs docs.joomla.org: JoomlaCode FAQs]&lt;br /&gt;
&lt;br /&gt;
::[http://joomlacode.org/gf/project/attachments/forum/?action=ForumBrowse&amp;amp;forum_id=7017 joomlacode.org: FAQs]&lt;br /&gt;
&lt;br /&gt;
*To create a JoomlaCode account, go to the [http://joomlacode.org/gf/project/ JoomlaCode Project page] and click on the &amp;quot;&#039;&#039;add new Project&#039;&#039;&amp;quot; bottom at the very bottom of the page.  In time your application will be reviewed and (hopefully) approved.&lt;br /&gt;
&lt;br /&gt;
*To initially put your project under SVN version control, right click the project folder and then select &#039;&#039;Team-&amp;gt;Share Project...&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*Eclipse will not let you upload to the root folder of your JoomlaCode Project.  Instead, upload to a folder with the same name as your Eclipse project.&lt;br /&gt;
&lt;br /&gt;
*When deleting a folder in Eclipse&#039;s Explorer window and then commit by right clicking and selecting &#039;&#039;Team-&amp;gt;Commit&#039;&#039; you can (do?) get the following error:-&lt;br /&gt;
::&#039;&#039;svn:Commit failed item . . . is out of date&#039;&#039;&lt;br /&gt;
:To overcome this, delete the folder in the SVN repository (&#039;&#039;Window-&amp;gt;Show View-&amp;gt;SVN Respositories&#039;&#039;) first and then right click on teh folder and select &#039;&#039;Team-&amp;gt;Update to HEAD&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*Under some circumstances, you might find that you cannot write to the reposisitory receiving the following error:-&lt;br /&gt;
::&#039;&#039;svn: Server sent unexpected return value (403 Forbidden) in response to MKACTIVITY request&#039;&#039;&lt;br /&gt;
:This may be due to a problem with password caching.  The following page shows how to clear the cached passwords:-&lt;br /&gt;
::http://help.collab.net/index.jsp?topic=/faq/clear_old_password.html&lt;br /&gt;
--[[User:PtrNrs|Pete Nurse]] 01:35, 16 March 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22258</id>
		<title>Talk:Setting up your workstation for extension development (build with Phing)</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22258"/>
		<updated>2010-03-16T03:07:38Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article fails to explain the content of the original package before it is installed, way before setting up PHING needs improvement.&lt;br /&gt;
&lt;br /&gt;
Quite unfair comment that.  Mark&#039;s previous two articles cover the setup of XAMPP/Eclipse/Joomla in comprehensive detail.&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla%21_development_--_Part_2&lt;br /&gt;
([[User:PtrNrs|Pete Nurse]] 00:43, 16 March 2010 (UTC))&lt;br /&gt;
&lt;br /&gt;
===Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode===&lt;br /&gt;
These are issues that I&#039;ve come up against.  Maybe my solutions are not definitively correct.&lt;br /&gt;
&lt;br /&gt;
*Good JoomlaCode resources (and they&#039;re hard to find!) are at:-&lt;br /&gt;
&lt;br /&gt;
::[http://forum.joomla.org/viewforum.php?f=406 Joomla Forum » Joomla! Official Sites &amp;amp; Infrastructure » Sites &amp;amp; Infrastructure - Feedback/Information » JoomlaCode.org]&lt;br /&gt;
&lt;br /&gt;
::[http://docs.joomla.org/JoomlaCode_FAQs JoomlaCode FAQs in doc.joomla.org]&lt;br /&gt;
&lt;br /&gt;
::[http://joomlacode.org/gf/project/attachments/forum/?action=ForumBrowse&amp;amp;forum_id=7017 FAQs inside JoomlaCode]&lt;br /&gt;
&lt;br /&gt;
*To create a JoomlaCode account, go to the [http://joomlacode.org/gf/project/ JoomlaCode Project page] and click on the &amp;quot;&#039;&#039;add new Project&#039;&#039;&amp;quot; bottom at the very bottom of the page.  In time your application will be reviewed and (hopefully) approved.&lt;br /&gt;
&lt;br /&gt;
*To initially put your project under SVN version control, right click the project folder and then select &#039;&#039;Team-&amp;gt;Share Project...&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*Eclipse will not let you upload to the root folder of your JoomlaCode Project.  Instead, upload to a folder with the same name as your Eclipse project.&lt;br /&gt;
&lt;br /&gt;
*When deleting a folder in Eclipse&#039;s Explorer window and then commit by right clicking and selecting &#039;&#039;Team-&amp;gt;Commit&#039;&#039; you can (do?) get the following error:-&lt;br /&gt;
::&#039;&#039;svn:Commit failed item . . . is out of date&#039;&#039;&lt;br /&gt;
:To overcome this, delete the folder in the SVN repository (&#039;&#039;Window-&amp;gt;Show View-&amp;gt;SVN Respositories&#039;&#039;) first and then right click on teh folder and select &#039;&#039;Team-&amp;gt;Update to HEAD&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*Under some circumstances, you might find that you cannot write to the reposisitory receiving the following error:-&lt;br /&gt;
::&#039;&#039;svn: Server sent unexpected return value (403 Forbidden) in response to MKACTIVITY request&#039;&#039;&lt;br /&gt;
:This may be due to a problem with password caching.  The following page shows how to clear the cached passwords:-&lt;br /&gt;
::http://help.collab.net/index.jsp?topic=/faq/clear_old_password.html&lt;br /&gt;
--[[User:PtrNrs|Pete Nurse]] 01:35, 16 March 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22256</id>
		<title>Talk:Setting up your workstation for extension development (build with Phing)</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22256"/>
		<updated>2010-03-16T02:41:03Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article fails to explain the content of the original package before it is installed, way before setting up PHING needs improvement.&lt;br /&gt;
&lt;br /&gt;
Quite unfair comment that.  Mark&#039;s previous two articles cover the setup of XAMPP/Eclipse/Joomla in comprehensive detail.&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla%21_development_--_Part_2&lt;br /&gt;
([[User:PtrNrs|Pete Nurse]] 00:43, 16 March 2010 (UTC))&lt;br /&gt;
&lt;br /&gt;
===Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode===&lt;br /&gt;
These are issues that I&#039;ve come up against.  Maybe my solutions are not definitively correct.&lt;br /&gt;
&lt;br /&gt;
*The Joomla forum about joomlacode.org is at &lt;br /&gt;
::[http://forum.joomla.org/viewforum.php?f=406 Board index » Joomla! Official Sites &amp;amp; Infrastructure » Sites &amp;amp; Infrastructure - Feedback/Information » JoomlaCode.org]&lt;br /&gt;
&lt;br /&gt;
*To create a JoomlaCode account, go to the [http://joomlacode.org/gf/project/ JoomlaCode Project page] and click on the &amp;quot;&#039;&#039;add new Project&#039;&#039;&amp;quot; bottom at the very bottom of the page.  In time your application will be reviewed and (hopefully) approved.&lt;br /&gt;
&lt;br /&gt;
*To initially put your project under SVN version control, right click the project folder and then select &#039;&#039;Team-&amp;gt;Share Project...&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*Eclipse will not let you upload to the root folder of your JoomlaCode Project.  Instead, upload to a folder with the same name as your Eclipse project.&lt;br /&gt;
&lt;br /&gt;
*When deleting a folder in Eclipse&#039;s Explorer window and then commit by right clicking and selecting &#039;&#039;Team-&amp;gt;Commit&#039;&#039; you can (do?) get the following error:-&lt;br /&gt;
::&#039;&#039;svn:Commit failed item . . . is out of date&#039;&#039;&lt;br /&gt;
:To overcome this, delete the folder in the SVN repository (&#039;&#039;Window-&amp;gt;Show View-&amp;gt;SVN Respositories&#039;&#039;) first and then right click on teh folder and select &#039;&#039;Team-&amp;gt;Update to HEAD&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*Under some circumstances, you might find that you cannot write to the reposisitory receiving the following error:-&lt;br /&gt;
::&#039;&#039;svn: Server sent unexpected return value (403 Forbidden) in response to MKACTIVITY request&#039;&#039;&lt;br /&gt;
:This may be due to a problem with password caching.  The following page shows how to clear the cached passwords:-&lt;br /&gt;
::http://help.collab.net/index.jsp?topic=/faq/clear_old_password.html&lt;br /&gt;
--[[User:PtrNrs|Pete Nurse]] 01:35, 16 March 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22255</id>
		<title>Talk:Setting up your workstation for extension development (build with Phing)</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22255"/>
		<updated>2010-03-16T02:40:45Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article fails to explain the content of the original package before it is installed, way before setting up PHING needs improvement.&lt;br /&gt;
&lt;br /&gt;
Quite unfair comment that.  Mark&#039;s previous two articles cover the setup of XAMPP/Eclipse/Joomla in comprehensive detail.&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla%21_development_--_Part_2&lt;br /&gt;
([[User:PtrNrs|Pete Nurse]] 00:43, 16 March 2010 (UTC))&lt;br /&gt;
&lt;br /&gt;
===Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode===&lt;br /&gt;
These are issues that I&#039;ve come up against.  Maybe my solutions are not definitively correct.&lt;br /&gt;
&lt;br /&gt;
*The Joomla forum about joomlacode.org is at &lt;br /&gt;
[http://forum.joomla.org/viewforum.php?f=406 Board index » Joomla! Official Sites &amp;amp; Infrastructure » Sites &amp;amp; Infrastructure - Feedback/Information » JoomlaCode.org]&lt;br /&gt;
&lt;br /&gt;
*To create a JoomlaCode account, go to the [http://joomlacode.org/gf/project/ JoomlaCode Project page] and click on the &amp;quot;&#039;&#039;add new Project&#039;&#039;&amp;quot; bottom at the very bottom of the page.  In time your application will be reviewed and (hopefully) approved.&lt;br /&gt;
&lt;br /&gt;
*To initially put your project under SVN version control, right click the project folder and then select &#039;&#039;Team-&amp;gt;Share Project...&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*Eclipse will not let you upload to the root folder of your JoomlaCode Project.  Instead, upload to a folder with the same name as your Eclipse project.&lt;br /&gt;
&lt;br /&gt;
*When deleting a folder in Eclipse&#039;s Explorer window and then commit by right clicking and selecting &#039;&#039;Team-&amp;gt;Commit&#039;&#039; you can (do?) get the following error:-&lt;br /&gt;
::&#039;&#039;svn:Commit failed item . . . is out of date&#039;&#039;&lt;br /&gt;
:To overcome this, delete the folder in the SVN repository (&#039;&#039;Window-&amp;gt;Show View-&amp;gt;SVN Respositories&#039;&#039;) first and then right click on teh folder and select &#039;&#039;Team-&amp;gt;Update to HEAD&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*Under some circumstances, you might find that you cannot write to the reposisitory receiving the following error:-&lt;br /&gt;
::&#039;&#039;svn: Server sent unexpected return value (403 Forbidden) in response to MKACTIVITY request&#039;&#039;&lt;br /&gt;
:This may be due to a problem with password caching.  The following page shows how to clear the cached passwords:-&lt;br /&gt;
::http://help.collab.net/index.jsp?topic=/faq/clear_old_password.html&lt;br /&gt;
--[[User:PtrNrs|Pete Nurse]] 01:35, 16 March 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22253</id>
		<title>Talk:Setting up your workstation for extension development (build with Phing)</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22253"/>
		<updated>2010-03-16T02:40:09Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article fails to explain the content of the original package before it is installed, way before setting up PHING needs improvement.&lt;br /&gt;
&lt;br /&gt;
Quite unfair comment that.  Mark&#039;s previous two articles cover the setup of XAMPP/Eclipse/Joomla in comprehensive detail.&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla%21_development_--_Part_2&lt;br /&gt;
([[User:PtrNrs|Pete Nurse]] 00:43, 16 March 2010 (UTC))&lt;br /&gt;
&lt;br /&gt;
===Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode===&lt;br /&gt;
These are issues that I&#039;ve come up against.  Maybe my solutions are not definitively correct.&lt;br /&gt;
&lt;br /&gt;
*The Joomla forum about joomlacode.org is at &lt;br /&gt;
[http://forum.joomla.org/viewforum.php?f=406 Board index»Joomla! Official Sites&amp;amp;Infrastructure»Sites&amp;amp;Infrastructure - Feedback/Information»JoomlaCode.org]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*To create a JoomlaCode account, go to the [http://joomlacode.org/gf/project/ JoomlaCode Project page] and click on the &amp;quot;&#039;&#039;add new Project&#039;&#039;&amp;quot; bottom at the very bottom of the page.  In time your application will be reviewed and (hopefully) approved.&lt;br /&gt;
&lt;br /&gt;
*To initially put your project under SVN version control, right click the project folder and then select &#039;&#039;Team-&amp;gt;Share Project...&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*Eclipse will not let you upload to the root folder of your JoomlaCode Project.  Instead, upload to a folder with the same name as your Eclipse project.&lt;br /&gt;
&lt;br /&gt;
*When deleting a folder in Eclipse&#039;s Explorer window and then commit by right clicking and selecting &#039;&#039;Team-&amp;gt;Commit&#039;&#039; you can (do?) get the following error:-&lt;br /&gt;
::&#039;&#039;svn:Commit failed item . . . is out of date&#039;&#039;&lt;br /&gt;
:To overcome this, delete the folder in the SVN repository (&#039;&#039;Window-&amp;gt;Show View-&amp;gt;SVN Respositories&#039;&#039;) first and then right click on teh folder and select &#039;&#039;Team-&amp;gt;Update to HEAD&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*Under some circumstances, you might find that you cannot write to the reposisitory receiving the following error:-&lt;br /&gt;
::&#039;&#039;svn: Server sent unexpected return value (403 Forbidden) in response to MKACTIVITY request&#039;&#039;&lt;br /&gt;
:This may be due to a problem with password caching.  The following page shows how to clear the cached passwords:-&lt;br /&gt;
::http://help.collab.net/index.jsp?topic=/faq/clear_old_password.html&lt;br /&gt;
--[[User:PtrNrs|Pete Nurse]] 01:35, 16 March 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22251</id>
		<title>Talk:Setting up your workstation for extension development (build with Phing)</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22251"/>
		<updated>2010-03-16T02:00:03Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article fails to explain the content of the original package before it is installed, way before setting up PHING needs improvement.&lt;br /&gt;
&lt;br /&gt;
Quite unfair comment that.  Mark&#039;s previous two articles cover the setup of XAMPP/Eclipse/Joomla in comprehensive detail.&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla%21_development_--_Part_2&lt;br /&gt;
([[User:PtrNrs|Pete Nurse]] 00:43, 16 March 2010 (UTC))&lt;br /&gt;
&lt;br /&gt;
===Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode===&lt;br /&gt;
These are issues that I&#039;ve come up against.  Maybe my solutions are not definitively correct.&lt;br /&gt;
&lt;br /&gt;
*To create a JoomlaCode account, go to the [http://joomlacode.org/gf/project/ JoomlaCode Project page] and click on the &amp;quot;&#039;&#039;add new Project&#039;&#039;&amp;quot; bottom at the very bottom of the page.  In time your application will be reviewed and (hopefully) approved.&lt;br /&gt;
&lt;br /&gt;
*To initially put your project under SVN version control, right click the project folder and then select &#039;&#039;Team-&amp;gt;Share Project...&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*Eclipse will not let you upload to the root folder of your JoomlaCode Project.  Instead, upload to a folder with the same name as your Eclipse project.&lt;br /&gt;
&lt;br /&gt;
*When deleting a folder in Eclipse&#039;s Explorer window and then commit by right clicking and selecting &#039;&#039;Team-&amp;gt;Commit&#039;&#039; you can (do?) get the following error:-&lt;br /&gt;
::&#039;&#039;svn:Commit failed item . . . is out of date&#039;&#039;&lt;br /&gt;
:To overcome this, delete the folder in the SVN repository (&#039;&#039;Window-&amp;gt;Show View-&amp;gt;SVN Respositories&#039;&#039;) first and then right click on teh folder and select &#039;&#039;Team-&amp;gt;Update to HEAD&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*Under some circumstances, you might find that you cannot write to the reposisitory receiving the following error:-&lt;br /&gt;
::&#039;&#039;svn: Server sent unexpected return value (403 Forbidden) in response to MKACTIVITY request&#039;&#039;&lt;br /&gt;
:This may be due to a problem with password caching.  The following page shows how to clear the cached passwords:-&lt;br /&gt;
::http://help.collab.net/index.jsp?topic=/faq/clear_old_password.html&lt;br /&gt;
--[[User:PtrNrs|Pete Nurse]] 01:35, 16 March 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22250</id>
		<title>Talk:Setting up your workstation for extension development (build with Phing)</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22250"/>
		<updated>2010-03-16T01:57:23Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article fails to explain the content of the original package before it is installed, way before setting up PHING needs improvement.&lt;br /&gt;
&lt;br /&gt;
Quite unfair comment that.  Mark&#039;s previous two articles cover the setup of XAMPP/Eclipse/Joomla in comprehensive detail.&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla%21_development_--_Part_2&lt;br /&gt;
([[User:PtrNrs|Pete Nurse]] 00:43, 16 March 2010 (UTC))&lt;br /&gt;
&lt;br /&gt;
===Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode===&lt;br /&gt;
These are issues that I&#039;ve come up against.  Maybe my solutions are not definitively correct.&lt;br /&gt;
&lt;br /&gt;
*To create a JoomlaCode account, go to the [http://joomlacode.org/gf/project/ JoomlaCode Project page] and click on the &amp;quot;&#039;&#039;add new Project&#039;&#039;&amp;quot; bottom at the very bottom of the page.  In time your application will be reviewed and (hopefully) approved.&lt;br /&gt;
&lt;br /&gt;
*To initially put your project under SVN version control, you right click the project folder and then select &#039;&#039;Team-&amp;gt;Share Project...&#039;&#039;, you may not upload to the root folder of your JoomlaCode Project.  It is easier to upload to a folder with the same name as your Eclipse project.&lt;br /&gt;
&lt;br /&gt;
*When deleting a folder in Eclipse&#039;s Explorer window and then commit by right clicking and selecting &#039;&#039;Team-&amp;gt;Commit&#039;&#039; you can (do?) get the following error:-&lt;br /&gt;
::&#039;&#039;svn:Commit failed item . . . is out of date&#039;&#039;&lt;br /&gt;
:To overcome this, delete the folder in the SVN repository (&#039;&#039;Window-&amp;gt;Show View-&amp;gt;SVN Respositories&#039;&#039;) first and then right click on teh folder and select &#039;&#039;Team-&amp;gt;Update to HEAD&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*Under some circumstances, you might find that you cannot write to the reposisitory receiving the following error:-&lt;br /&gt;
::&#039;&#039;svn: Server sent unexpected return value (403 Forbidden) in response to MKACTIVITY request&#039;&#039;&lt;br /&gt;
:This may be due to a problem with password caching.  The following page shows how to clear the cached passwords:-&lt;br /&gt;
::http://help.collab.net/index.jsp?topic=/faq/clear_old_password.html&lt;br /&gt;
--[[User:PtrNrs|Pete Nurse]] 01:35, 16 March 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22249</id>
		<title>Talk:Setting up your workstation for extension development (build with Phing)</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22249"/>
		<updated>2010-03-16T01:35:43Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article fails to explain the content of the original package before it is installed, way before setting up PHING needs improvement.&lt;br /&gt;
&lt;br /&gt;
Quite unfair comment that.  Mark&#039;s previous two articles cover the setup of XAMPP/Eclipse/Joomla in comprehensive detail.&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla%21_development_--_Part_2&lt;br /&gt;
([[User:PtrNrs|Pete Nurse]] 00:43, 16 March 2010 (UTC))&lt;br /&gt;
&lt;br /&gt;
===Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode===&lt;br /&gt;
These are issues that I&#039;ve come up against.  Maybe my solutions are not definitively correct.&lt;br /&gt;
&lt;br /&gt;
*To create a JoomlaCode account, go to the [http://joomlacode.org/gf/project/ JoomlaCode Project page] and click on the &amp;quot;&#039;&#039;add new Project&#039;&#039;&amp;quot; bottom at the very bottom of the page.  In time your application will be reviewed and (hopefully) approved.&lt;br /&gt;
&lt;br /&gt;
*When deleting a folder from your SVN project, deleting the folder in Eclipse&#039;s Explorer window and then selecting &#039;&#039;Team-&amp;gt;Commit&#039;&#039; can give the error:-&lt;br /&gt;
::&#039;&#039;svn:Commit failed item . . . is out of date&#039;&#039;&lt;br /&gt;
:To overcome this, delete the folder in the SVN repository (&#039;&#039;Window-&amp;gt;Show View-&amp;gt;SVN Respositories&#039;&#039;) first and then select &#039;&#039;Team-&amp;gt;Update to HEAD&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*Under some circumstances, you might find that you cannot write to the reposisitory receiving the following error:-&lt;br /&gt;
::&#039;&#039;svn: Server sent unexpected return value (403 Forbidden) in response to MKACTIVITY request&#039;&#039;&lt;br /&gt;
:This may be due to a problem with password caching.  The following page shows how to clear the cached passwords:-&lt;br /&gt;
::http://help.collab.net/index.jsp?topic=/faq/clear_old_password.html&lt;br /&gt;
--[[User:PtrNrs|Pete Nurse]] 01:35, 16 March 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22248</id>
		<title>Talk:Setting up your workstation for extension development (build with Phing)</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22248"/>
		<updated>2010-03-16T01:34:34Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article fails to explain the content of the original package before it is installed, way before setting up PHING needs improvement.&lt;br /&gt;
&lt;br /&gt;
Quite unfair comment that.  Mark&#039;s previous two articles cover the setup of XAMPP/Eclipse/Joomla in comprehensive detail.&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla%21_development_--_Part_2&lt;br /&gt;
([[User:PtrNrs|Pete Nurse]] 00:43, 16 March 2010 (UTC))&lt;br /&gt;
&lt;br /&gt;
===Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode===&lt;br /&gt;
These are issues that I&#039;ve come up against.  Maybe my solutions are not definitively correct.&lt;br /&gt;
&lt;br /&gt;
*To create a JoomlaCode account, go to the [http://joomlacode.org/gf/project/ JoomlaCode Project page] and click on the &amp;quot;&#039;&#039;add new Project&#039;&#039;&amp;quot; bottom at the very bottom of the page.  In time your application will be reviewed and (hopefully) approved.&lt;br /&gt;
&lt;br /&gt;
*When deleting a folder from your SVN project, deleting the folder in the local client and then selecting &#039;&#039;Team-&amp;gt;Commit&#039;&#039; can give the error:-&lt;br /&gt;
::&#039;&#039;svn:Commit failed item . . . is out of date&#039;&#039;&lt;br /&gt;
:To overcome this, delete the folder in the SVN repository (&#039;&#039;Window-&amp;gt;Show View-&amp;gt;SVN Respositories&#039;&#039;) first and then select &#039;&#039;Team-&amp;gt;Update to HEAD&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*Under some circumstances, you might find that you cannot write to the reposisitory receiving the following error:-&lt;br /&gt;
::&#039;&#039;svn: Server sent unexpected return value (403 Forbidden) in response to MKACTIVITY request&#039;&#039;&lt;br /&gt;
:This may be due to a problem with password caching.  The following page shows how to clear the cached passwords:-&lt;br /&gt;
::http://help.collab.net/index.jsp?topic=/faq/clear_old_password.html&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22247</id>
		<title>Talk:Setting up your workstation for extension development (build with Phing)</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22247"/>
		<updated>2010-03-16T01:33:56Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article fails to explain the content of the original package before it is installed, way before setting up PHING needs improvement.&lt;br /&gt;
&lt;br /&gt;
Quite unfair comment that.  Mark&#039;s previous two articles cover the setup of XAMPP/Eclipse/Joomla in comprehensive detail.&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla%21_development_--_Part_2&lt;br /&gt;
([[User:PtrNrs|Pete Nurse]] 00:43, 16 March 2010 (UTC))&lt;br /&gt;
&lt;br /&gt;
===Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode===&lt;br /&gt;
These are issues that I&#039;ve come up against.  Maybe my solutions are not definitively correct.&lt;br /&gt;
*To create a JoomlaCode account, go to the [http://joomlacode.org/gf/project/ JoomlaCode Project page] and click on the &amp;quot;&#039;&#039;add new Project&#039;&#039;&amp;quot; bottom at the very bottom of the page.  In time your application will be reviewed and (hopefully) approved.&lt;br /&gt;
*When deleting a folder from your SVN project, deleting the folder in the local client and then selecting &#039;&#039;Team-&amp;gt;Commit&#039;&#039; can give the error &lt;br /&gt;
::&#039;&#039;svn:Commit failed item . . . is out of date&#039;&#039;&lt;br /&gt;
:To overcome this, delete the folder in the SVN repository (&#039;&#039;Window-&amp;gt;Show View-&amp;gt;SVN Respositories&#039;&#039;) first and then select &#039;&#039;Team-&amp;gt;Update to HEAD&#039;&#039;.&lt;br /&gt;
*Under some circumstances, you might find that you cannot write to the reposisitory receiving the following error:-&lt;br /&gt;
::&#039;&#039;svn: Server sent unexpected return value (403 Forbidden) in response to MKACTIVITY request&#039;&#039;&lt;br /&gt;
:This may be due to a problem with password caching.  The following page shows how to clear the cached passwords:-&lt;br /&gt;
::http://help.collab.net/index.jsp?topic=/faq/clear_old_password.html&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22246</id>
		<title>Talk:Setting up your workstation for extension development (build with Phing)</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22246"/>
		<updated>2010-03-16T01:32:11Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article fails to explain the content of the original package before it is installed, way before setting up PHING needs improvement.&lt;br /&gt;
&lt;br /&gt;
Quite unfair comment that.  Mark&#039;s previous two articles cover the setup of XAMPP/Eclipse/Joomla in comprehensive detail.&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla%21_development_--_Part_2&lt;br /&gt;
([[User:PtrNrs|Pete Nurse]] 00:43, 16 March 2010 (UTC))&lt;br /&gt;
&lt;br /&gt;
===Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode===&lt;br /&gt;
These are issues that I&#039;ve come up against.  Maybe my solutions are not definitively correct.&lt;br /&gt;
*To create a JoomlaCode account, go to http://joomlacode.org/gf/project/ and click on the &amp;quot;&#039;&#039;add new Project&#039;&#039;&amp;quot; bottom at the very bottom of the page.  In time your application will be reviewed and (hopefully) approved.&lt;br /&gt;
*When deleting a folder from your SVN project, deleting the folder in the local client and then selecting &#039;&#039;Team-&amp;gt;Commit&#039;&#039; can give the error &lt;br /&gt;
::&#039;&#039;svn:Commit failed item . . . is out of date&#039;&#039;&lt;br /&gt;
:To overcome this, delete the folder in the SVN repository (&#039;&#039;Window-&amp;gt;Show View-&amp;gt;SVN Respositories&#039;&#039;) first and then select &#039;&#039;Team-&amp;gt;Update to HEAD&#039;&#039;.&lt;br /&gt;
*Under some circumstances, you might find that you cannot write to the reposisitory receiving the following error:-&lt;br /&gt;
::&#039;&#039;svn: Server sent unexpected return value (403 Forbidden) in response to MKACTIVITY request&#039;&#039;&lt;br /&gt;
:This may be due to a &lt;br /&gt;
::http://help.collab.net/index.jsp?topic=/faq/clear_old_password.html&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22245</id>
		<title>Talk:Setting up your workstation for extension development (build with Phing)</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22245"/>
		<updated>2010-03-16T01:08:41Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article fails to explain the content of the original package before it is installed, way before setting up PHING needs improvement.&lt;br /&gt;
&lt;br /&gt;
Quite unfair comment that.  Mark&#039;s previous two articles cover the setup of XAMPP/Eclipse/Joomla in comprehensive detail.&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla%21_development_--_Part_2&lt;br /&gt;
([[User:PtrNrs|Pete Nurse]] 00:43, 16 March 2010 (UTC))&lt;br /&gt;
&lt;br /&gt;
===Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode===&lt;br /&gt;
These are issues that I&#039;ve come up against.  Maybe my solutions are not definitively correct.&lt;br /&gt;
*To create a JoomlaCode account, go to http://joomlacode.org/gf/project/ and click on the &amp;quot;&#039;&#039;add new Project&#039;&#039;&amp;quot; at the very bottom of the page.  In time your application will be reviewed and (hopefully) approved.&lt;br /&gt;
*When deleting a folder from your SVN project, deleting the folder in the local client and then selecting &#039;&#039;Team-&amp;gt;Commit&#039;&#039; can give the error &#039;&#039;svn Commit failed item . . . is out of date&#039;&#039;.  To overcome this, delete the folder in the SVN repository (&#039;&#039;Window-&amp;gt;Show View-&amp;gt;SVN Respositories&#039;&#039;) first and then select &#039;&#039;Team-&amp;gt;Update to HEAD&#039;&#039;.&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22244</id>
		<title>Talk:Setting up your workstation for extension development (build with Phing)</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22244"/>
		<updated>2010-03-16T01:08:09Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article fails to explain the content of the original package before it is installed, way before setting up PHING needs improvement.&lt;br /&gt;
&lt;br /&gt;
Quite unfair comment that.  Mark&#039;s previous two articles cover the setup of XAMPP/Eclipse/Joomla in comprehensive detail.&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla%21_development_--_Part_2&lt;br /&gt;
([[User:PtrNrs|Pete Nurse]] 00:43, 16 March 2010 (UTC))&lt;br /&gt;
&lt;br /&gt;
===Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode===&lt;br /&gt;
These are issues that I&#039;ve come up against.  Maybe my solutions are not definitively correct.&lt;br /&gt;
*To create a JoomlaCode account, go to http://joomlacode.org/gf/project/ and click on the &amp;quot;&#039;&#039;add new Project&#039;&#039;&amp;quot; at the very bottom of the page.  In time your application will be reviewed and (hopefully) approved.&lt;br /&gt;
*When deleting a folder from your SVN project, deleting the folder in the local client and then selecting &#039;&#039;Team-&amp;gt;Commit&#039;&#039; can give the error &#039;&#039;svn Commit failed item . . . is out of date&#039;&#039;.  to overcome this, delete the folder in the SVN repository (&#039;&#039;Window-&amp;gt;Show View-&amp;gt;SVN Respositories&#039;&#039;) first and then select &#039;&#039;Team-&amp;gt;Update to HEAD&#039;&#039;.&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22243</id>
		<title>Talk:Setting up your workstation for extension development (build with Phing)</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22243"/>
		<updated>2010-03-16T01:04:48Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article fails to explain the content of the original package before it is installed, way before setting up PHING needs improvement.&lt;br /&gt;
&lt;br /&gt;
Quite unfair comment that.  Mark&#039;s previous two articles cover the setup of XAMPP/Eclipse/Joomla in comprehensive detail.&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla%21_development_--_Part_2&lt;br /&gt;
([[User:PtrNrs|Pete Nurse]] 00:43, 16 March 2010 (UTC))&lt;br /&gt;
&lt;br /&gt;
===Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode===&lt;br /&gt;
These are issues that I&#039;ve come up against.  Maybe my solutions are not definitively correct.&lt;br /&gt;
*To create a JoomlaCode account, go to http://joomlacode.org/gf/project/ and click on the &amp;quot;&#039;&#039;add new Project&#039;&#039;&amp;quot; at the very bottom of the page.  In time your application will be reviewed and (hopefully) approved.&lt;br /&gt;
*In Eclipse, when deleting a folder from your SVN project, delete the folder in the SVN repository (&#039;&#039;Window-&amp;gt;Show View-&amp;gt;SVN Respositories&#039;&#039;) first and then select &#039;&#039;Team-&amp;gt;Update to HEAD&#039;&#039;.&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22241</id>
		<title>Talk:Setting up your workstation for extension development (build with Phing)</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22241"/>
		<updated>2010-03-16T01:00:23Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: /* Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article fails to explain the content of the original package before it is installed, way before setting up PHING needs improvement.&lt;br /&gt;
&lt;br /&gt;
Quite unfair comment that.  Mark&#039;s previous two articles cover the setup of XAMPP/Eclipse/Joomla in comprehensive detail.&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla%21_development_--_Part_2&lt;br /&gt;
([[User:PtrNrs|Pete Nurse]] 00:43, 16 March 2010 (UTC))&lt;br /&gt;
&lt;br /&gt;
===Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode===&lt;br /&gt;
These are issues that I&#039;ve come up against.  Maybe my solutions are not definitively correct.&lt;br /&gt;
*To create a JoomlaCode account, go to http://joomlacode.org/gf/project/ and click on the &amp;quot;add new Project&amp;quot; at the &#039;&#039;very&#039;&#039; bottom if the page.&lt;br /&gt;
*When del&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22240</id>
		<title>Talk:Setting up your workstation for extension development (build with Phing)</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22240"/>
		<updated>2010-03-16T00:59:48Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article fails to explain the content of the original package before it is installed, way before setting up PHING needs improvement.&lt;br /&gt;
&lt;br /&gt;
Quite unfair comment that.  Mark&#039;s previous two articles cover the setup of XAMPP/Eclipse/Joomla in comprehensive detail.&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla%21_development_--_Part_2&lt;br /&gt;
([[User:PtrNrs|Pete Nurse]] 00:43, 16 March 2010 (UTC))&lt;br /&gt;
&lt;br /&gt;
===Tips &amp;amp; Traps for Eclipse/SVN/JoomlaCode===&lt;br /&gt;
These are issues that I&#039;ve come up against.  Maybe my solutions are not definitively correct.&lt;br /&gt;
*To create a JoomlaCode account, go to [http://joomlacode.org/gf/project/] and click on the &amp;quot;add new Project&amp;quot; at the &#039;&#039;very&#039;&#039; bottom if the page.&lt;br /&gt;
*When del&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22239</id>
		<title>Talk:Setting up your workstation for extension development (build with Phing)</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22239"/>
		<updated>2010-03-16T00:49:36Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article fails to explain the content of the original package before it is installed, way before setting up PHING needs improvement.&lt;br /&gt;
&lt;br /&gt;
Quite unfair comment that.  Mark&#039;s previous two articles cover the setup of XAMPP/Eclipse/Joomla in comprehensive detail.&lt;br /&gt;
&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla%21_development_--_Part_2&lt;br /&gt;
&lt;br /&gt;
([[User:PtrNrs|Pete Nurse]] 00:43, 16 March 2010 (UTC))&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22238</id>
		<title>Talk:Setting up your workstation for extension development (build with Phing)</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22238"/>
		<updated>2010-03-16T00:46:43Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article fails to explain the content of the original package before it is installed, way before setting up PHING needs improvement.&lt;br /&gt;
&lt;br /&gt;
Quite unfair comment that.  Mark&#039;s previous two articles cover the setup of XAMPP/Eclipse/Joomla in comprehensive detail.&lt;br /&gt;
&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development&lt;br /&gt;
&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla%21_development_--_Part_2&lt;br /&gt;
&lt;br /&gt;
([[User:PtrNrs|Pete Nurse]] 00:43, 16 March 2010 (UTC))&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22237</id>
		<title>Talk:Setting up your workstation for extension development (build with Phing)</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22237"/>
		<updated>2010-03-16T00:45:43Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article fails to explain the content of the original package before it is installed, way before setting up PHING needs improvement.&lt;br /&gt;
&lt;br /&gt;
Quite unfair comment that.  Mark&#039;s previous two articles cover the setup of XAMPP/Eclipse/Joomla in comprehensive detail.&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla!_development&lt;br /&gt;
http://docs.joomla.org/Setting_up_your_workstation_for_Joomla%21_development_--_Part_2&lt;br /&gt;
([[User:PtrNrs|Pete Nurse]] 00:43, 16 March 2010 (UTC))&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22236</id>
		<title>Talk:Setting up your workstation for extension development (build with Phing)</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Talk:Setting_up_your_workstation_for_extension_development_(build_with_Phing)&amp;diff=22236"/>
		<updated>2010-03-16T00:43:59Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article fails to explain the content of the original package before it is installed, way before setting up PHING needs improvement.&lt;br /&gt;
&lt;br /&gt;
Quite unfair comment that.  Mark&#039;s previous two articles cover the setup[ of XAMPP/Eclipse/Joomla in comprehensive details.([[User:PtrNrs|Pete Nurse]] 00:43, 16 March 2010 (UTC))&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=File:Subclipse_update_site_1.6.png&amp;diff=13960</id>
		<title>File:Subclipse update site 1.6.png</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=File:Subclipse_update_site_1.6.png&amp;diff=13960"/>
		<updated>2009-04-16T22:28:20Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=File:Eclipse_install_update_1.6.png&amp;diff=13956</id>
		<title>File:Eclipse install update 1.6.png</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=File:Eclipse_install_update_1.6.png&amp;diff=13956"/>
		<updated>2009-04-16T22:25:51Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=File:Eclipse_install_update2_1.6.png&amp;diff=13955</id>
		<title>File:Eclipse install update2 1.6.png</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=File:Eclipse_install_update2_1.6.png&amp;diff=13955"/>
		<updated>2009-04-16T22:25:02Z</updated>

		<summary type="html">&lt;p&gt;PtrNrs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>PtrNrs</name></author>
	</entry>
</feed>