I'm not sure I understand. It should be a matter of getting PHPUnit
3.6, grabbing any dependencies (DBUnit primarily springs to mind
though I'm not sure if it's included) and just running "phpunit" in
the root directory of the platform instance. The dependencies can be a
bit of a trick however it'll give you error messages indicating
something you've missed that you can google.
On Wed, Jul 18, 2012 at 8:14 PM, marius <mariu...
> JPATH_PLATFORM is defined as the directory inside the test directory, but that library directory is empty. Do we need to manualy copy the platform in this directory?
I'm not sure I understand the statement here. JPATH_PLATFORM is
defined as being in the libraries folder (/libraries) of the parent
directory of the tests folder (dirname(JPATH_TESTS)). I put some
var_dump's after each of the define lines and I got the following:
silversaviour:joomla-platform pasamio$ php tests/bootstrap.php
So the tests directory is the tests directory and the libraries
directory is the libraries directory. The Joomla Platform should be
inside the libraries directory as indicated here and maps to the
following location (at least in my GIT checkout):
There is no library/libraries directory inside the tests directory. My
copy of the "tests" directory reflects this version as shown on the
What happens when you run phpunit in the root directory of the
platform? Does your repository structure on disk reflect the structure
on the GitHub website?