Installation/Arcavias Core/Tests/en

Be sure you've installed the required software before you start. You need a command line shell and you have to change into the main directory of the Arcavias package:

cd

where " " must be replaced by the real directory on your file system.

Unit tests
The Arcavias package contains a lot of unit tests that ensures that incorrect behavior of the library is detected after altering the code. The easiest way is to execute

phing

This will run the setup, the unit tests and the code check all at once. The setup will also create the test data which are required for the unit tests. Alternatively, you can also execute the steps one by one:

phing setup phing test phing check

Testing extensions phing -Ddir=ext/your-extension/ testext

Performance tests
For creating the performance test data and running the performance tests, you can use these lines:

phing setupperf phing testperf

Caution: Depending on your hardware and the speed of your network connection, creating the test data set for the performance tests can take a while as it creates


 * 10,000 articles
 * 40,000 associated pictures
 * 30,000 associated texts (name, short and long description)
 * 500 categories
 * 5 attributes per article

That's it! Now you can start making changes :-)

<< Previous: Setup database and configuration