Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2013-03-03 13:58:00 +0400
committermattab <matthieu.aubry@gmail.com>2013-03-03 13:58:00 +0400
commit5212fab963db7ba6698cbd98f8a87ae82e2c1d42 (patch)
treef89c37c88261200ab279e01cd71638abc4ef434f /tests/README.md
parent2ffc22b563cc707e107d01b7d197605756f0c1a4 (diff)
1.11-b21.11-b2
Diffstat (limited to 'tests/README.md')
-rw-r--r--tests/README.md12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/README.md b/tests/README.md
index bc3982a0d1..3af99f1d45 100644
--- a/tests/README.md
+++ b/tests/README.md
@@ -43,17 +43,19 @@ it might be that your changes are breaking some features unexpectedly.
2. Configure PHPUnit: Copy the file `piwik/tests/PHPUnit/phpunit.xml.dist` to `phpunit.xml`.
In this file, you will find the following lines.
- Please edit HTTP_HOST and REQUEST_URI to match the hostname and path of the Piwik files:
+ Please edit HTTP_HOST and REQUEST_URI to match the hostname and path of the Piwik files.
+ For example if your Piwik is available at http://localhost/path/to/piwik/ you would write:
<server name="HTTP_HOST" value="localhost"/>
- <server name="REQUEST_URI" value="/path/to/piwik/tests/all_tests.php"/>
-
+ <server name="REQUEST_URI" value="/path/to/piwik/"/>
+
+
3. Run the tests (see the next section to run tests in the browser)
$ cd /path/to/piwik/tests/PHPUnit
$ phpunit
- This will run all unit + integration tests. It might take 30 minutes to run.
+ This will run all unit + integration tests. It might take 10-20 minutes to run.
You can also run tests of specified "parts" of Piwik.
There are three main groups of tests: Core, Plugins and Integration
@@ -124,7 +126,7 @@ work altered the expected images. The standard procedure described in the INTEGR
- set up the vagrant piwik vm (which is used by the integration server) or
- retrieve the files from the integration server.
-## Continous Integration
+## Continuous Integration
We run a Jenkins server for continuous integration. It automatically downloads the latest version of the Piwik code
from our GIT repo and runs a battery of thousands of tests. More information at the links: