WordPress.org

Make WordPress Core

Changeset 501 in tests


Ignore:
Timestamp:
02/01/12 05:43:53 (4 years ago)
Author:
convissor
Message:

Provide docblock listing the command line options. (If you want people to run the tests, make it easy for them.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-test.php

    r450 r501  
    55 * WordPress Testrunner 
    66 * 
    7  * Example: 
     7 * Examples: 
    88 * 
     9 * # php wp-test.php 
    910 * # php wp-test.php -l 
     11 * # php wp-test.php -t TestImageMetaFunctions,TestImageSizeFunctions 
    1012 * 
     13 * Command line options: 
     14 *   - -d  Set WP_DEBUG to true 
     15 *   - -f  Force known bugs 
     16 *   - -l  List all tests 
     17 *   - -m  Test multisite 
     18 *   - -n  Do not clean up the database at the end of the run 
     19 *   - -q  Save queries 
     20 *   - -r  Uses the given path as the WP_DIR to be tested.  Overrides -v. 
     21 *   - -s  Skip known bugs 
     22 *   - -t  Specific test class names to be run (separated by spaces or commas) 
     23 *   - -v  Sets WP_DIR to "DIR_TESTROOT/wordpress-<value>".  Overridden by -r. 
    1124 */ 
    1225 
Note: See TracChangeset for help on using the changeset viewer.