logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ihabu...@apache.org
Subject svn commit: r1187201 - /logging/log4php/trunk/src/test/php/README
Date Fri, 21 Oct 2011 08:10:24 GMT
Author: ihabunek
Date: Fri Oct 21 08:10:24 2011
New Revision: 1187201

URL: http://svn.apache.org/viewvc?rev=1187201&view=rev
Log:
Updated README file for tests.

Modified:
    logging/log4php/trunk/src/test/php/README

Modified: logging/log4php/trunk/src/test/php/README
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/test/php/README?rev=1187201&r1=1187200&r2=1187201&view=diff
==============================================================================
--- logging/log4php/trunk/src/test/php/README (original)
+++ logging/log4php/trunk/src/test/php/README Fri Oct 21 08:10:24 2011
@@ -1,5 +1,17 @@
-Individual Tests can be run from the top level directory using e.g.:
-$ phpunit --bootstrap=src/test/php/bootstrap.php src/test/php/appenders/LoggerAppenderSocketTest.php
+All tests can be run from the src/test/php directory by running:
+$ phpunit
+
+Tests classes are divided into groups which can be run individually:
+$ phpunit --group main
+$ phpunit --group appenders
+$ phpunit --group configurators
+$ phpunit --group filters
+$ phpunit --group helpers
+$ phpunit --group layouts
+$ phpunit --group renderers
+
+Individual test classes can be run using e.g.:
+$ phpunit appenders/LoggerAppenderSocketTest.php
 
 When using relative paths in the tests, be aware that "mvn test" does a
 changedir to this directory. So dirname(__FILE__).'/../../' is preferred.



Mime
View raw message