Commit da55ebf8 authored by Ivan Chepurnyi's avatar Ivan Chepurnyi

Merge pull request #7 from colinmollenhour/patch-1

Add example command line for running unit tests (was not obvious to me ho
parents a1d89de2 e47151bb
...@@ -40,6 +40,8 @@ required for proper controller tests. ...@@ -40,6 +40,8 @@ required for proper controller tests.
4. Run the unit tests first time for installing test database. It will take about 3 minutes. 4. Run the unit tests first time for installing test database. It will take about 3 minutes.
$ phpunit UnitTests.php
5. If it shows that there was no tests found, it means that extension was successfully 5. If it shows that there was no tests found, it means that extension was successfully
installed. If it shows some errors than it means that your customizations has install installed. If it shows some errors than it means that your customizations has install
scripts that relay on your current database data so you should fix them. scripts that relay on your current database data so you should fix them.
...@@ -58,6 +60,8 @@ required for proper controller tests. ...@@ -58,6 +60,8 @@ required for proper controller tests.
3. Run the unit tests first time for installing test database. It will take about 3 minutes. 3. Run the unit tests first time for installing test database. It will take about 3 minutes.
$ phpunit UnitTests.php
4. If it shows that there was no tests found, it means that extension was successfully 4. If it shows that there was no tests found, it means that extension was successfully
installed. If it shows some errors than it means that your customizations has install installed. If it shows some errors than it means that your customizations has install
scripts that relay on your current database data so you should fix them. scripts that relay on your current database data so you should fix them.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment